Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

dmpilars
New Contributor II

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
MVP
MVP

Re: Execute .bat Qlik Sense Desktop

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
New Contributor II

Re: Execute .bat Qlik Sense Desktop

Captura.PNG

It is correct? not work!

TY!

MVP
MVP

Re: Execute .bat Qlik Sense Desktop

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

Community Browser