/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 8 years ago
Red Belt
1

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 8 years ago
    • Gutted to have disappointed you. I'll bear a potential audience in mind next time. - anonymous_9363 8 years ago
      • Add me to the list of disappointed viewers too....:-) - EdT 8 years ago
    • Add me too :) wow.... :) - khanthecomputerguy 8 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ