Page 1 of 1
Pass command line switch to the packaged executable
Posted: Fri Nov 04, 2011 8:06 am
by Genfry
Helo EVB,
I need to pass a command line switch to a packaged executable, how to do it ?
Second I need to pass working folder to this application, how to do it ?
I'm using versione 3.4
thanks and regards
GB
Re: Pass command line switch to the packaged executable
Posted: Fri Nov 04, 2011 1:01 pm
by Enigma
Hi Genfry,
Currently it is impossible to pass command line to the virtual executable. But probably it will be added in some next version.
Genfry wrote:Second I need to pass working folder to this application, how to do it ?I'm using versione 3.4
Working folder? What do you mean, please give an example.
Re: Pass command line switch to the packaged executable
Posted: Fri Nov 04, 2011 2:53 pm
by Genfry
Hello EVB,
thanks for yuor reply
consider the command line visible in the field properties of the shortcut of an executable, you will see:
Target = "C:\Program Files\Microsoft Office\Office11\Excel.exe -1st_switch -2nd_switch -3_etc"
Start in = C:\Program Files\Microsoft Office\Office11\
I have an executable that need to be executed with 1 parameters on the command line (-1st_switch )
thanks and regards
GB
Re: Pass command line switch to the packaged executable
Posted: Mon Nov 07, 2011 8:15 am
by Enigma
I think in your case would be better to rewrite the main program that opens Excel file, so it will start the Excel from the necessary path with the necessary parameters. Because the issues you described are not really belongs to virtualization and EVB.