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)
Please log in to answer
Be the first to answer this question