3 ms·
I couldn't find any mention of (pre-PowerShell) MS batch (CMD.EXE, COMMAND.COM) language. At the shop I work at, WinXP is still the standard platform, and .BAT
by cagey 15y ago
I couldn't find any mention of (pre-PowerShell) MS batch (CMD.EXE, COMMAND.COM) language. At the shop I work at, WinXP is still the standard platform, and .BAT the first line scripting language. It's nauseating; the threshold at which I typically start looking to rewrite .BAT scripts in languages not intrinsic to the platform is about 3 lines of code. Unfortunately, if you want to write programs that modify the environment of the CMD shell from which they were invoked, .BAT scripting is unavoidable.
- krallja 15y agoIf you have a requirement to use languages intrinsic to the platform, CScript.exe (Windows Script Host) is your friend. VBScript and JScript may be ugly, but it's a hell of a lot better than CMD.exe.