Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
twanqlik
Creator
Creator

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

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.