K2000 add folder/files to desktop post install
I would like to add a folder/files to admin desktop windows 10 during a post install task. I see xcopy works well as a bat script, but where to put source file baffles me. I am doing a scripted installation of Windows 10 with a usb drive that connects to the K2000 for OS deployment and application installs, I just need to know where to place a source file and how to map it in the BAT script. Thanks
2 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
chucksteel
7 years ago
Instead of using a batch script post-install task use an application. Place your script plus the files in a zip archive, upload the zip file and use the script name as the parameter.
Comments:
-
Again, not sure of the syntax, how do I reference the source file when it is uploaded as a part of a zip file using xcopy?
Thanks - friar 7 years ago-
The files will be in the same folder as the batch file, so the source directory is the current directory for xcopy. - chucksteel 7 years ago
-
Thanks,
That works. - friar 7 years ago
Have you tried mapping it to a network share with xcopy...?
i.e.
xcopy /s \\SharedFolder\MyFolder C:\Users\User\Desktop\
But the current user must have access to the shared folder, so
watch your permissions. - akmagnum 7 years ago