Ok, forgot quotes, how silly is that ;-)
thanks
Technology Tips and News
Ok, forgot quotes, how silly is that ;-)
thanks
try that: cmd /c ".\Scripts\install.bat"
And also check your batch file (perhaps named install.bat.txt...)
The folder structure of the package is this;
Notepad ++ 6.9 ENU
-> Sources
-> notepad++.exe
-> Plugins
-> Images
-> pic.jpg
-> Scripts
-> install.bat
In my task sequence I am trying to run the install.bat file with the 'Run command line' step. My command is: cmd /c .\Scripts\install.bat
This is a simple problem I admit but I don't see it (yet) :-)
This is what I get from the smsts.log
Set command line: Run command line InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Working dir 'C:\_SMSTaskSequence\Packages\COR000FF' InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Executing command line: Run command line InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Process completed with exit code 1 InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) 'Scripts\install.bat' is not recognized as an internal or external command, InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) operable program or batch file. InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Command line returned 1 InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) ReleaseSource() for C:\_SMSTaskSequence\Packages\COR000FF. InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) reference count 1 for the source C:\_SMSTaskSequence\Packages\COR000FF before releasing InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Released the resolved source C:\_SMSTaskSequence\Packages\COR000FF InstallSoftware 28/05/2015 08:18:56 1144 (0x0478) Process completed with exit code 1 TSManager 28/05/2015 08:18:56 2660 (0x0A64) !--------------------------------------------------------------------------------------------! TSManager 28/05/2015 08:18:56 2660 (0x0A64)
try that: cmd /c ".\Scripts\install.bat"
And also check your batch file (perhaps named install.bat.txt...)