Running a Batch File
02/15/2017 3769 views
I am trying to create a K1000 Script to run a batch file. The batch file is just to xcopy 2 files from a network share to the %USERPROFILE%/Appdata/Roaming/SAP/Common folder. I have uploaded the .bat file and the two files that I want to copy in the dependencies. What else do I need to set in the Tasks in order for this script to run properly?
My bat looks like this, if correct..?
xcopy /s /Y "\\servername\folder1\SAP GUI 740\NWSAPADMIN\CustomerFiles" "%USERPROFILE%\APPDATA\Roaming\SAP\Common"