I have a .bat file
and in the file something like this
d:
cd Doc
cd bestFolder
The problem is when I start the bat file with double click the console is prompted but in just few moments it is gone 🙁
How can I make a bat file that will start the command promt at some specific directory ?
NOTE: I want to be able to input commands after the console is show I do not want the console to be hidden in just few moments
Put this line
cmdat the end of your batch file.That will execute the commands and prevent your command window closing.