isacmahad wrote:however I would just prefer to stay away from c languages and keep it open to scripting
C is not needed unless you want to program low level stuffs such as drivers. C is rather out dated (although it still has its uses, but not much in today's internet environment). Nowadays, if speed is needed, for example, in Python, you can extend C for the speed portion, and still leave the easy part of programming to Python. Same with Perl.
but than again the appeal of being completely portable to all windows machines would be nice, there is no need to do this for linux in my opinion bash is just fine the way it is.
everybody's definition of "portable" is different. To me, when i write a Python or Perl script in Windows, I can port my code to another platform, such as linux with no or minimal changes. That's portability for me.
Its nice to see microsoft finally get their heads out of sand and create a somewhat equal to in powershell,
still, it only works in M$ environment. to me, i prefer my tool to work in heterogeneous environment. but that's just me since i spend my time working with *nixes and windows...
but there is still ground work to be covered there as well. I see that perl happens to be fruitful on many environments, and perl seems to have its own variation of batch scripts to boot.
yes, so does Python. these 2 are most commonly used for system admin as well as general purpose programming. You can just be very proficient in one, and you don't have to use anything else.
Tisk I think my 5mins of thrill in attempting to work around batch is done. batch is garbage, they do need to do away with this pile of rubbish.
Thank you for shedding light on what would have become a wasted adventure and pissed away hours of learning something useless.
Batch in today's context is outdated. It doesn't provide libraries and it lacks programming features that makes programming easy. if you explore further, the things we do today are not like zion years ago. Today's programming environment requires us to (some examples)
1) script getting a web page and parsing it to get data,
2) do file transfer from one machine to the next
3) parse excel file and get columns and row data
4) produce a pdf from a word document.
5) find suspicious ips in a firewall log file
6) parse XML tags and get values
7) create XML files
8) etc and many more complicated tasks
as you can see, most of everyday task involve some kind of parsing, which batch serious lacks that capability. Not so with Perl, for example, modules for doing the above stuff can easily be found, coupled with excellent parsing capabilities, its a good tool to have definitely