Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

jblomqvist
Contributor II

What does "Can Execute External Programs" in Settings tab of Edit Script do?

Hi all,

Can anyone tell me what does "Can Execute External Programs" in Settings tab do exactly?

The Reference Manual says "If this option is selected execute statements may be used in the script." but it is not exactly very clear what it means anyone got any examples?

3 Replies
krishna_2644
Valued Contributor III

Re: What does "Can Execute External Programs" in Settings tab of Edit Script do?

You run/execute some non-qlikview stuff like deleting external files ect.

EXECUTE CMD.EXE /C del "$(vQVDSourcePath)STATE.qvd";   - this command/script deletes an external file.

Hope that helps

MVP
MVP

Re: What does "Can Execute External Programs" in Settings tab of Edit Script do?

from Qlik help

Can Execute External Programs

If this option is selected execute statements may be used in the script.

So, you can use the execute statement in the script (often to call dos batch, example if you want to delete some files from Qlik); what's the execute statement?

Always from help

With the Execute statement it is possible to run other programs during the re-execution of the QlikView script, e.g. conversions that are necessary.

The syntax is:

execute commandline

where:

commandline is a text that can be interpreted by the operating system as a command line.

Examples:

Execute C:\Program Files\Office12\Excel.exe;

Execute winword macro.doc;

Execute cmd.exe /C C:\BatFiles\Log.bat

Note!
The /C needs to be included as it is a parameter to cmd.exe.

Not applicable

Re: What does "Can Execute External Programs" in Settings tab of Edit Script do?

John, the main purpose is to execute the external scripts withe "EXECUTE" like .bat files etc.

Please go to help file to find out more

Community Browser