Thank you very much. Your workaround worked, by using cmd /k I found that the problem was related to the working directory.
Both the following works well.
start /D %scriptPath% %scritpPath%program arg1 arg2
start /D %scriptPath% cmd /c %scriptPath%program arg1 arg2
I would like to get the same...
Hi,
I'm new of this thread and I do not know if this is the right section of the forum. I'm under windows 10 1803 64 bit.
I have two scripts (.cmd and .ps1) which execute the same operation. The scripts work well if I run them from cmd or powershell while they do not work if I use schtasks.
In...