Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
dmpilars
Partner - Creator
Partner - Creator

Execute .bat Qlik Sense Desktop

Hi people !

In this case I have a .bat file and I'm trying to execute this from Qlik Sense Desktop but this error appears when I try to complete the operation

error.PNG

I'm using this expression: Execute 'lib://4_Qvd_Modelo\BORRANDO.bat';

I try also Execute: Execute cmd.exe /C C:\ROLLUP\DESARROLLO\FDN\4_Qvd_Modelo\BORRANDO.bat;

and Execute C:\ROLLUP\DESARROLLO\FDN\4_Qvd_Modelo\BORRANDO.bat;

But no one run correctly. Pleaseee! Help me!

Plus: if anyone know how to eliminate the last row in the .txt whit a .bat, tell me please.

3 Replies
petter
Partner - Champion III
Partner - Champion III

You will have to turn on "legacy" mode for Qlik Sense Desktop for the Execute statement to work.

You find the instructions on how to do it here: https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStateme...

dmpilars
Partner - Creator
Partner - Creator
Author

Captura.PNG

It is correct? not work!

TY!

petter
Partner - Champion III
Partner - Champion III

You will also need to disable standard mode as was mentioned in the first link I posted. It is easy to overlook...

          StandardReload=0

Here it is:

https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/LoadData/disable-standard-mode...