I am trying to deploy a package that needs to have files deleted for it to work
So i have a bat that needs to be dumped on the local machine and ran (due to %userprofile%\local\microsoft\outlook)
So the Ts goes like:
Install program
Create dir
cmd.exe /c md C:\osc
xcopy bat to dir
xcopy.exe ".\OSCDel.bat" "C:\OSC"
run dir
C:\OSC\OSCDel.bat
So the first 3 things in the Ts work flawlessly but when it comes down to running the bat that was copied over it fails out.
The logs show that it's trying to execute cmd in the SCCM DP directory...
I have tried to start it in the "C:\OSC" dir but still no go.
any help with this would be greatly appreciated.