Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
Showing results for 
Search instead for 
Did you mean: 

Executing a .BAT file, the handle is invalid

I'm trying to execute a simple .bat file (that works perfectly when run manually), however, for someone kind of reason Qlikview won't run it. 

Any idea's what might cause this? 🙂 

EXECUTE [..\8_Import\DeleteXMLFiles.bat];

The handle is invalid.JPG

2 Replies

Are you sure the relative path really points to the .bat file you're trying to execute? Have you tried an absolute path?

talk is cheap, supply exceeds demand
Master II
Master II

As Gysbert mentioned please try with the absolute path and along with that may be add cmd.exe or path to cmd.exe after execute statement. I have ran into error because of that as well.

EXECUTE cmd.exe any_switch_needed "absolute_path_of the file"
Learning never stops.