Kingskawn Posted August 9, 2011 Report post Posted August 9, 2011 I'm trying to run a batch file from within a package during a TS OSD. Command Line: "%~dp0scripts\delete_icons.bat" Package: [scripts]-Production In the error log (smsts.log) I see a "The system cannot find the file specified. (Error: 80070002; Source: Windows) What is wrong? Quote Share this post Link to post Share on other sites More sharing options...
0 Matt_B Posted August 9, 2011 Report post Posted August 9, 2011 Try it without the ""%~dp0" variable. You shouldn't need this in the TS, just the script file itself. Quote Share this post Link to post Share on other sites More sharing options...
I'm trying to run a batch file from within a package during a TS OSD.
Command Line: "%~dp0scripts\delete_icons.bat"
Package: [scripts]-Production
In the error log (smsts.log) I see a "The system cannot find the file specified. (Error: 80070002; Source: Windows)
What is wrong?
Share this post
Link to post
Share on other sites