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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -