/build/static/layout/Breadcrumb_cap_w.png

Unable to copy files from Dell\KACE\kbots_cache\packages\kbots\xxx to the local drive

Hi,

I am trying to deploy a program, which consists of copying several folders to the local C drive and importing some entries in the registry.

The script copies the ZIP file to the KACE folder, and creates the folder at the root of the local C drive after checking if it does not already exists, but the automatically extracted files are not copied to the newly created folder.

Can somebody help? My script is below :

 cd\
md "C:\XYZ"
cd "C:\Documents and Settings\All Users\Dell\KACE\kbots_cache\packages\kbots\111\XYZ"
xcopy "*.*" "C:\XYZ" /e

 

Many thanks in advance for your time.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: SMal.tmcc 12 years ago
Red Belt
1

try using

md c:\xyz

xcopy $kace_dependency_dir\*.* c:\xyz /e


Comments:
  • Thanks for your response, unfortunately this does not work. The agent extracts the files and folders from the dependency, but the content of the sub folder xyz.123 is not moved to c:\xyz.123 - Yellow74 12 years ago
    • try xcopy $kace_dependency_dir\*.* c:\xyz /s /e /q /y - SMal.tmcc 12 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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