New
#1
How to code a bat file to restart explorer and 2 programs
I am trying to write this program in notepad.exe.
What am I doing wrong? The code stops after explorer.exe is restarted. I know this because the command prompt does not show the echo "-explorer restarted". When I look at the command prompt, the cursor seems to be on the next line, but without the normal C:\Users\JohnSmith> in front of it (there is nothing in front of the cursor).
Also, if I include the command "exit" at the end of my .bat file, it doesn't seem to work. Even though if I type in exit into command prompt, the window closes.
Please help.