Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Double quotes on Execute statement

Hi all,

I'm trying to include in EXECUTE double quotes because i need it to perform a correct command in cmd:

I had it :

EXECUTE cmd.exe /C "Application.exe list=$(List) -logsOutput=logs/applog";


and it works perfectly, but if i insert in $(List) a String with space the Application.exe crashes.


I test it on cmd putting:


Application.exe list="String1;String 2; String String " -logsOutput=logs/applog


and it works too, but my problem now is that i don't be able to insert double quotes in EXECUTE statement:

EXECUTE cmd.exe /C "Application.exe list="$(List)" -logsOutput=logs/applog";

PS: I tried with chr(34) too and doesn't works.

Thanks in advance,

BR,

Ivan

10 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Keep in mind that those (double) quotes are processed by the cmd.exe command interpreter of Windows. AFAIK QlikView script will pass everything between the statement keyword EXECUTE and the terminating semicolon to the Exec/Fork call which will start an external shell. Only $-sign expansion will be applied by the script engine.

So actually the rules of the external command line processor will be applied here.

Best,

Peter