cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wise Script Editor - Calling a Bat file RM /S /Q Repository returns "System cannot find the File Specified"

This is an odd issue and it's apparently been happening a very long time and explains why my repair scripts don't work 100% anymore.

 

The BAT file works fine when you just run it, or if you run the command manually, but when called from within a wise script exe that 1 line of the bat file returns that error thus, wbem is never been reset properly.

Here is the entire bat..

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(1) Reply

@john_burke 

There is no bat file contents in the post. Please attach the same to look into the issue.