This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I tried cmd.exe and everything worked perfectly. Thanks very much for your input. I'm going to be using cmd.exe for a long list of function invocations in the windows environment some of which don't nave a java equivalent (such as net stop and start for windows services), so I wanted to be consistent in my Java app.
However, I would appreciate further information as to what needs to be considered when choosing between command.com and cmd.exe. My information (which is obviously sketchy and flawed) was that cmd.exe should be used for NT and command.com for everything else (Windows 95, 98, XP, ME, etc.). This is obviously incorrect and I would very much like to be set straight on this matter.
author and iconoclast
To answer your last question: you're correct except that you put XP in the wrong pile. If Windows 2000 was NT 5, then XP is "NT 6". 95/98/ME basically follow the old "shell on top of DOS" model, whereas the NT OSs are a complete OS in themselves.