/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Answer this question or Comment on this question for clarity

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: VBScab
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.... :)
Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share