Solved! can't open a bat file

Solution


It opens for a millisecond because you are running the file by double clicking it. Whatever task it runs, runs quickly and closes.

If you want to see what it runs Right click on it and choose edit.

If you want to watch what it does when it runs you need to run it from a command prompt. in file explorer, go to its parent folder, right click on it and choose "Open Command Prompt" then in the command prompt type the name of the batch file and hit enter. Then you will see it run.

Rogue Leader

Distinguished
Moderator


It opens for a millisecond because you are running the file by double clicking it. Whatever task it runs, runs quickly and closes.

If you want to see what it runs Right click on it and choose edit.

If you want to watch what it does when it runs you need to run it from a command prompt. in file explorer, go to its parent folder, right click on it and choose "Open Command Prompt" then in the command prompt type the name of the batch file and hit enter. Then you will see it run.

 
Solution