Run a batch file in a new window from batch?
To simply do it is just
start cmd /c "exampleexample.bat"
This could also work with spaces;
start cmd /c "example example.bat"
And directories.
start cmd /c "C:\NAME\Example\Hi there\example example.bat"
I created my universal batch with this and this works flawlessly.
start abc.bat
works for me. What is the problem in your case? You could also try start cmd /c abc.bat
.
Is this what your after?
start "New Window" cmd /c test.cmd
It's a little bit strange that start abc.bat
doesn't work but I assume this is because you are running this in the middle of another batch. You probably need call
:
22:22:38.85 c:\help call
Calls one batch program from another.
CALL [drive:][path]filename [batch-parameters]
Giving you start call abc.bat
or call start abc.bat
depending on what the exact problem is.