/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Does anybody know how to make a batch file (.bat) run another batch file

05/21/2015 1963 views
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

Comments


All Answers

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"

Answered 05/22/2015 by: anonymous_9363
Red Belt

  • I actually clicked on this hoping to read one of your trademark hilarious responses...
    • Gutted to have disappointed you. I'll bear a potential audience in mind next time.
      • Add me to the list of disappointed viewers too....:-)
    • Add me too :) wow.... :)
 
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