Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
fionna51
Creator

How to run Windows command line in Qlik Sense - cmd.exe

Hi,

We are switching old Qlikview app to Qlik Sense. We have "EXECUTE cmd.exe c/ Move ..." script in QV, but it is failing in QS. Any idea how we can set up our system or we need to use other method to do this move file? Somebody suggested to use QMC - External Program Task to handle this, we also need some help for how to set up.

Thanks in advance.

 

Fion

Labels (2)
1 Reply
Or
MVP

You should still be able to use Execute in QS, but you'd need to enable Legacy Mode, which isn't the best idea unless you really have to.

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

https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularSt...

For external program tasks, see the documentation. If you have any specific questions not covered, you can ask those here on Community and hopefully someone will be able to help...

https://help.qlik.com/en-US/sense-admin/May2022/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

Finally, you could use a third-party / workaround solution, such as Qlik creating a file somewhere and then a Windows Scheduler or other scheduling option periodically checks for that file being created, deletes it, and executes whatever script you want.