Cant get dependencies to work with Scripts


New to KACE but I have read several articles here but cant seem to get this to work.  I am copying 2 dependencies which is working as I can see the files on the local machine.  Next I want to run xcopy to copy one of the files to a folder on the root of the drive so it can be accessed later.  Next I want to create a scheduled task which looks at the second dependency (XML) for the settings none of the call programs are working. Referencing this KACE Product Support : Script to copy a file from Dependencies to local host (itninja.com) I came up with these.  The dependencies and commands work locally OK so I am sure its just the way I am calling them.

Launch “$(KACE_SYS_DIR)\xcopy.exe” with params “$(KACE_DEPENDENCY_DIR)\Delete_files_Directories.bat C:\KACE\ /y



Launch “$(KACE_SYS_DIR)\schtasks.exe” with params “$(KACE_DEPENDENCY_DIR)/CREATE /XML ”Delete_files.xml“ /TN ”Delete Files“”


Clearly I am doing something daft but can someone shine a light on what it is please?

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

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