Monday, December 7, 2009

Execute a command from cmd in a batch file

cmd /C

Including the /C switch on the cmd invocation feeds the rest of the batch file as commands to be executed in the new prompt.

No comments:

Post a Comment