Sometimes you will need to just copy over files or folder contents to a folder on user's desktop:-
create a batch file:-
copy /y "%~dp0*.*" "%ProgramFiles%\Test\Temp"
which translates- copy all files to %ProgramFiles%\Test\Temp
In DP, place all the files needed in a folder, including the batch file.
Then create a package in SCCM, point commandline to run the batch file.
Deploy to user's machine, and it will copy all the folder contents to %ProgramFiles%\Test\Temp.
Hi jake81,
ReplyDeletethank you very much for that. Can you explain how to copy these files to
users desktop. You mentioned here to any folder.
BR
Daniel
Hi Daniel,
ReplyDeleteIf it's only for 1 specific user change "%ProgramFiles%\Test\Temp" to "c:\users\(put in username here)\Desktop"
or if its for all users change "%ProgramFiles%\Test\Temp" to "%userprofile%\desktop"