in script how to copy a file from Dependencies to local host

Looking in Kace scripting to Task on success to copy a file from the kace depency that is attached to the script to the local hosts c:\program files\...ect

I didn't see an option on success to copy a file, I dont think launching XCOPY with the aparameters will read $(KACE_DEPENDENCY_DIR) as valid

How would i go about doing this?

Thanks for your help.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


you should be able to copy the dependencies without adding the location as the current working directory will be the location of the dependencies. Otherwise, if you are passing $(KACE_DEPENDENCY_DIR) as a variable in a kace field (e.g. not a batch file) then that should work.
Answered 11/11/2011 by: GillySpy
Seventh Degree Black Belt

Please log in to comment