/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


k1000 copy file to directory

01/05/2016 7900 views
I just want to copy and overwrite 1 file to a directory on my computers.
There are many ways to do it and I haven't been able to be successful on any of them.
Can someone steer me in the right direction and as a newbie a step by step.

Thanks
Answer Summary:
4 Comments   [ + ] Show comments

Comments

  • In the past I was using a bat file manually to each computer.
  • Couple of questions.
    1. What OS?
    2. On a domain?
    3. KACE agent on all of them?
  • windows 7 64 bit on a domain with newest KACE agent
  • File sync under distribution is the way to go. Worked like a charm !!! THNX :)

Answer Chosen by the Author

3
You should use file sync under distribution that way it will make sure that file is the one you want it to be. Not a newer or older version.

if you want to use a script.  upload the file as a dependency
W2LX6L.jpeg
/c xcopy $(KACE_DEPENDENCY_DIR)\features.txt c:\ /q /y



Answered 01/05/2016 by: SMal.tmcc
Red Belt

Don't be a Stranger!

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

Sign up! or login

View more:

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