Windows native bash-like script language
Hi, I am wondering if there are script languages like bash/perl/php that comes with windows?
I know all 3 of the above languages can be used under windows, and they run natively but what I am looking for is something more "native" to windows in the sense that it comes with, or supported by Microsoft directly so that you don't have to install anything to program or to run the scripts. Regarding the console world in windows, all I know is DOS, but I don't think it is a powerful tool. Any opinions are welcome. Thanks. |
You can download Cygwin from http://www.cygwin.com/. It takes a while to download all of the packages, but it works just fine (eventually ;) )
|
VBScript? Not sure if it ships with all versions of Windows or not though.
|
Never been there, but that page may be helpful:
http://www.microsoft.com/technet/scr...r/default.mspx |
Perl is available in a Windows Port: http://www.cpan.org/ports/#win32
ActivePerl I've used and like :) Also, Java can be used to build console applications, if that helps any. Hope this helps :) Edit: Just re-read the post, and that probably doesn't help much... The closest thing you are going to get without a third-party application is batch scripts... but these pale terribly in comparison to anything listed in your post... |
Thanks for the replies guys :)
I will check out about VBscript when I have the time. Just for your information, The reason why I want it to be available on windows is that I want to write some utilities for my friends. I don't think it is a good idea to ask them to install perl/PHP/cygwin or whatever just to run those little scripts. Thanks again. |
There is one more option: HTA files. These work well as primitive GUI programs that can do quite a few complex functions through Javascript and VBScript... http://msdn.microsoft.com/workshop/a...taoverview.asp
|
Quote:
It is not a very modular language, though, so it is best for short, administrative type scripts, in my optinion. |
Would you be happy with Korn and C shells? if so then download Microsoft Services for Unix from http://www.microsoft.com/windowsserv...u/default.mspx
|
Who needs Perl.. I do everything by writing batch files..
:D |
Because I can do this with Perl... and you cannot with a batch file without installing third-party command-line utilities...
Code:
sub fix_id3 { |
Oh by the way - perl is available for Windows (in addition to the version bundled with Services for Unix). Check out ActivePerl at http://www.activestate.com/Products/ActivePerl/
|
Thanks for all of the information.
I will try to choose one from the above suggestions :) Of course if you have extra information to provide. Please do so so that other people can take advantage of this post, too :) |
>> Because I can do this with Perl... and you cannot with a batch file without installing third-party command-line utilities...
once again sarcasm goes soaring over the head of an intended audience.. i know i should have used <joking> tags.. forgot where i was for a second.. |
All times are GMT -5. The time now is 11:05 AM. |