Software Deployment Question

how to copy a folder with files in it?

04/17/2015 1411 views

I have been trying to figure out how to do this via the K1 or the K2.  I need to copy a folder(and its contents) called RDP Shortcuts to C:\Program Files\.

I have tried to figure out how to copy via xcopy and robocopy but I have been unsuccessful through a network share either in a post install task or from a script via the K1

I have tried to figure out how to do a file synchronize from the K1 I am unable to as I am not sure how/what to tie it to a program as you have to, to upload the folder
Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author

Zip up the directory with the files in it. Next, create a new Software Inventory record with a name you'll understand. Upload the zip file to this software inventory record. Make sure you have all required operating systems selected. 

Then go to File Synchronizations and create a new one. Use the record you just created for your "file" then type the path you are targeting. 

Check "persist" to ensure it stays there or gets repushed if someone deletes it. Select your device (s) and set your schedule. That should do it. I have done this numerous times and had great success. 
Answered 04/17/2015 by: rockhead44
Red Belt

All Answers

xcopy K1 "\\MachineName\c$\Program Files\K2\"  /S /E

This will copy all content from K1 to K2.
Answered 04/20/2015 by: yasheshlele
Senior Yellow Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ