Discussion Board for collaboration related to QlikView App Development.
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
Hi,
I did it removing cmd and quotes:
EXECUTE cmd.exe /C "Application.exe list=$(List) -logsOutput=logs/applog";
like this:
EXECUTE Application.exe list="$(List)" -logsOutput=logs/applog;
It works, thanks for the support!
BR,
Ivan.
Hi,
In your variable definition add it.
Regards,
Hi dreamer4,
I don't use a variable to do it, can you explain how i can do with it?
I try it putting all the string in a variable an then use EXECUTE Variable but it doesn't works..
BR
Hi,
How you assign value in List???
where you are creating List?
Regards
Hi,
I did it removing cmd and quotes:
EXECUTE cmd.exe /C "Application.exe list=$(List) -logsOutput=logs/applog";
like this:
EXECUTE Application.exe list="$(List)" -logsOutput=logs/applog;
It works, thanks for the support!
BR,
Ivan.
I think I would try something like this:
let vExecute = '"Application.exe list=' & '$(List)' & ' -logsOutput=logs/applog"';
EXECUTE cmd.exe /C $(vExecute);
- Marcus
What about
EXECUTE cmd.exe /C Application.exe list="$(List)" -logsOutput=logs\applog;
Best,
Peter
Or this?
EXECUTE cmd.exe /C "Application.exe list=""$(List)"" -logsOutput=logs\applog";
Best,
Peter
Good
Close the thread.
Regards
This works too.
Thanks guys!