Wow...that should be working without any extra effort...
What version of LANDesk are you on.
Will other .bat files run properly for you?
For example, if you replace the lines in your batch file with:
dir > test.txt
Does test.txt get created?
1 of 1 people found this helpful
I think since you have
EXIT /B 0 it will always report back that it was successful, so I would just remove that line. Also syntax says:
<code>rmdir /s /q "c:\Program Files\MEDITECH\MagicCS\Data\FHF\Ring\FHF.LIVE\MSWord" </code>
Ok so you say it is coming down in the cache, running and not deleting the folder and all folders/files. So what is in the folder? Is it an application or other files that can be locked, are the files read only, hidden, system, etc...?
BTW, Thanks for doing this first "Been through all the posts and documents"
zman good point , looking at the directory there is only one file in the directory The directory is marked "read only".. It isn't an application. and the file it self has zero bytes... ?
Very Odd, I will mention that thus far i have not been able to get ANY *.bat files to work through LANDesk. We are using version 22.214.171.124
Any help would be grateful! Thanks for just replying!!!
RD will remove readonly dirs/files so that should not be an issue. Sounds like a bigger issue. I would try what Beau suggested and post the results and log files.