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.
1 Answer
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.
cmd /k mybatfile.bat