Scripting Question
Using XCopy via K1000
- “sys\cmd.exe” mit Parameter “/c ”xcopy \\***SERVER***\mdtbuildlab$\Applications\sap guilogon\sapqe4_ini\saplogon.ini %userprofile%\appdata\roaming\sap\common\ /e /c /y“” starten.
what the hell is wrong with this script?
the kace send it but nothing happend....but manually its works perfect..o_O wtf?
create a online script, upload the file, run as logged in user from the kace dependancy directory
Community Chosen Answer
you are making your life hard. create a online script, upload the file, run as logged in user from the kace dependancy directory
All Answers
What user are you running the script as? By default it will run as system which probably doesn't have access to network resources.
I tried this before, but then I just straight gave up. Might work for you.
The current workaround would to pre append the start /wait command in front of the xcopy command.
For example:
xcopy \\printsvr\installs\ABC c:\Drivers\ABC\
Use the following instead:
start /wait xcopy \\printsvr\installs\ABC c:\Drivers\ABC\
http://www.kace.com/support/resources/kb/article/Unable-to-execute-xcopy-command-in-script-using
Comments