How do I run bat file inside cmd using tash scheduler. I've tried this one
C:\windows\system32\cmd.exe C:\synchronization.bat
And doesn't working.
Asked
Active
Viewed 317 times
1 Answers
2
You can use
cmd /c mybatfile.bat
to run a command and terminate the cmd shell or
cmd /k mybatfile.bat
to run a command and keep the cmd shell.

user9517
- 115,471
- 20
- 215
- 297