I am trying to run a simple batch file as follows (y: is mapped to a network drive holding the files in question.)
y:
CD tunstall
CD servers
CD server_down
copy blank.txt tele19.txt
I have broken the batch file down to the absolute basics.
I have set up a "Run program" notification policy that calls the batch file as follows
C:\Program Files\ManageEngine\OpManager\status.bat
I have tried calling it in many ways including "C:\Program Files\ManageEngine\OpManager\status.bat", status.bat etc.
It says Program Executed Successfully when I do a test run, but the file never gets copied.
If I run the batch file from windows or CMD, it works fine.
When I get this bit working, I will be passing it the server name as an argument to make the copied file servername.txt but need the file to run in this simple form first.
Can anyone help?