Discussion board where members can get started with Qlik Sense.
I am facing problem while trying to run Execute command with parameter. The content of the parameter is Filename
Execute 7z.exe x 'C:\junk\'$(File) -oC:\junk\;
The above statement does not work whereas if I replace the parameter with FileName it works
Execute lib://Raw_Files/7z.exe x "C:\junk\FileName*" -o"C:\junk\";
My question is how to use parameter on the second statement
The statements are quite different. The second also uses the Library and double quotes around the file name. Have you tried Execute lib://Raw_Files/7z.exe x "C:\junk\'$(File)'*" -o"C:\junk\";?
No Gysbert, this statement didn't work
Try like below:
Execute 7z.exe x C:\junk\$(File) -oC:\junk\;
Not entirely unexpected. Have you tried enabling the Legacy script mode? See http://help.qlik.com/sense/2.1/en-US/online/#../Subsystems/Hub/Content/LoadData/disable-standard-mod...
Yes, I did that before. This is my entry of system.ini file
I tried to create and run batch file. But that too didn't work. Any other alternative to this?
Execute cmd /C C:\junk\Unzipping.bat FileName*;
7z.exe x "C:\junk\%1" -o"C:\junk\"
Any solution is highly appreciated