Archive: remove command line parameters


remove command line parameters
Hi,

Is it possible to remove specific command line arguments from within nsi script which are passed into the executable.

I am currently retrieving paramters specified to the executable using GetParameters. These parameters are then passed into a Java class which the nsi script executes.

However, I want to pass in additional parameters into the executable which can be read from the nsi script, but then removed before they are passed into the Java application

Thanks


GetOptions is probably the macro you need. It's in FileFunc.nsh.

Or just use StrCmp and StrCpy a couple of times. There's a 'findsubstring' macro or something as well, in textfunc.nsh I think.


Thanks MSG very much appreciated. I will give it a go.