Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
twanqlik
Creator II
Creator II

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
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

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
pradosh_thakur
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.