Archive: Help with execdos


Help with execdos
Hey Guys

I need to pass some parameters to exedos. if the parameters are without spaces it works fine but if there are any spaces in the parameters its not working.

ExecDos::exec "FilesBackup.bat $INSTDIR $SYSDIR $ETADIR

if any of the these parameters have spaces this command doesnt work.

Can you please suggest me a work around for this.

Thanks very much. I'm new to NSIS so please suggest me something.


You could try


ExecDos::exec `"FilesBackup.bat" "$INSTDIR" "$SYSDIR" "$ETADIR"`