1.

Solve : How to stay at DOS after exit from a batch file launched by doubling clicking??

Answer»

I would LIKE to launch a batch SCRIPT program in Windows by double clicking and stay at DOS command after it exits. I know 'pause' can have it stay at DOS, but one click will close DOS BOX. What I want is to stay at DOS box after the end of the batch program. In such way, I can continue to USE DOS commands and see previous execution result.This will open a cmd prompt and run a command, and LEAVE the cmd window open.

Code: [Select]%comspec% /k



Discussion

No Comment Found