How to read line from cmd
How to read line from cmd?
6 posts
Compile this then run the demo.exe program with something on the command-line (e.g. demo.exe /123) and a message box will pop up showing the parameters (e.g. "Command-line parameters = /123").!include "FileFunc.nsh"
Name "Demo"
OutFile demo.exe
RequestExecutionLevel user
Section default
${GetParameters} $R0
MessageBox MB_OK "Command-line parameters = $R0"
SectionEnd