Hi,
I am passing in a parameter when I call the EXE created by AutoPlay.
I pass the parameter like this:
LicenseInstaller.exe /lpgdir="c:\t\" - This is the directory where a file exists.
In the On Startup function I set a local variable equal to the _CommandLineArgs.
local strArgFound = "";
strArgFound = _CommandLineArgs[1];
When I display the strArgFound variable in a Dialog Message box it had this in it:
/lpgdir=c:\t" SFXSOURCE:c:\t\LicenseInstaller.exe
How do a get the /lpgdir=c:\t\ out of the variable? Why is showing the SFXSOURCE as well?
Thanks,
Kevin
I am passing in a parameter when I call the EXE created by AutoPlay.
I pass the parameter like this:
LicenseInstaller.exe /lpgdir="c:\t\" - This is the directory where a file exists.
In the On Startup function I set a local variable equal to the _CommandLineArgs.
local strArgFound = "";
strArgFound = _CommandLineArgs[1];
When I display the strArgFound variable in a Dialog Message box it had this in it:
/lpgdir=c:\t" SFXSOURCE:c:\t\LicenseInstaller.exe
How do a get the /lpgdir=c:\t\ out of the variable? Why is showing the SFXSOURCE as well?
Thanks,
Kevin
Comment