batch file - Run process in its own window -


i playing around batch on computer, , wanted run process in own window. figured out how run in own window, want window close when process ends. how can this?

this code run python 2's python.exe in own window:

@echo off start call "c:\program files\python27\python.exe" %* 

is there way can assign new window variable , check if has finished running process, exit new window?

start via cmd /c, , window close once command ends.

also, endoro said in comment, should not need call

@start cmd /c "c:\program files\python27\python.exe" %* 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -