/build/static/layout/Breadcrumb_cap_w.png

Run A Simple Batch Script failure

We are trying to get a simple batch script to run via KACE and have issues.  It runs locally without issue.  This is the script:

move "c:\logstash-cbnode\deflate\deflatriots.txt" "c:\logstash-cbnode\deflate\patriots.txt"

We have it checked to run as local system.  The script name is a *.bat form.  We are choosing the Windows OS.  Any idea in what we did wrong here?

4 Comments   [ + ] Show comments
  • Forgive me but how do you move one .txt file into another .txt file? - 786_ak 9 years ago
  • That is the command they are using. It does appear to work properly in a command prompt. - revsmitty 9 years ago
    • have you tried ren (rename) instead of move. ren "c:\logstash-cbnode\deflate\deflatriots.txt" patriots.txt - SMal.tmcc 9 years ago
  • I agree with the this comment above. The Linux/Unix command, mv, are used to rename files but the command, move, does not do the same thing in Windows. - apetersen478 9 years ago
  • That is beside the point guys. This is an example that works fine in a DOS prompt. If anyone has any insight on why KACE can't run a batch file. I would appreciate it. As I stated, the command works fine locally in a command shell. - revsmitty 9 years ago

Answers (0)

Be the first to answer this question

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