Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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