Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Friends,
I am facing problem while trying to run Execute command with parameter. The content of the parameter is Filename
Let File='FileName.gz';
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
Thanks, Deb
It works! You should add "cmd.exe /C" in the command. You also shouldn't use double quotes in the paths.
Execute cmd.exe /C 7z.exe x C:\junk\$(File) -oC:\junk\;
BR,
Rumen