Does anybody know how to make a batch file (.bat) run another batch file
Here is my code but when it calls the popup.bat it's in the same window, is it possible to run it in another window?
@echo off
echo Hello World!
pause
call "C:\Users\name\Desktop\popup.bat"
pause
@echo off
echo Hello World!
pause
call "C:\Users\name\Desktop\popup.bat"
pause
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
9 years ago
I'm not even going to ask why anyone would want to do this...
Use START [arguments] CMD [arguments] "C:\Users\[name]\Desktop\PopUp.BAT"
Comments:
-
I actually clicked on this hoping to read one of your trademark hilarious responses... - nheyne 9 years ago
-
Gutted to have disappointed you. I'll bear a potential audience in mind next time. - anonymous_9363 9 years ago
-
Add me to the list of disappointed viewers too....:-) - EdT 9 years ago
-
Add me too :) wow.... :) - khanthecomputerguy 9 years ago