Re:DOS is long dead, long live FreeDOS
by mixmastamyk on Tuesday February 05, 2013 @11:48PM
(#5174929)
It isn't DOS, DOS was an operating system. You're probably thinking of the Windows Command prompt, with a shell that is a descendant of command.com.
To your question, it is just as easy to write console Python tools in Windows as it is under Unix. I've written quite a few work on both.
Glue scripts (Batch files) are just fine too, as long as you don't try to do too much with them. When something gets too complex, move that part to Python, or really any language you like. To be honest I like that, I'd prefer people not write complex things in shell scripts that could be done more elegantly in a programming language.
For anything more serious than the occasional ipconfig, you should go ahead and download Powershell.
(Disclaimer: not the OP)
If you enjoy Unix shells, you will probably hate PowerShell. I use a bunch of GNU utilities compiled for Windows that are probably about ten years old. Cygwin is too much effort for an unnatural feeling environment and PowerShell was designed by people who may have been exposed to harmful influences such as the VAX DCL.
Re:DOS is long dead, long live FreeDOS
by derleth on Wednesday February 06, 2013 @02:26AM
(#5175317)
> DCL
Sadly, DCL had (some) use beyond VMS: http://en.wikipedia.org/wiki/DIGITAL_Command_Language
One thing that I've come so accustomed to in unix environments is the ease of creating CLI tools in a nice language like python and then glue it all together with bash scripts. I can't really imagine being so productive in DOS, but maybe I just don't know it enough, hence the question.