command-line

Registry Example: How to pass % value to reg.exe:
reg add HKLM\Software\sav /v test /t REG_SZ /d "\"%userprofile^%\""
-or-
reg add HKLM\Software\sav /v test /t REG_SZ /d "\"%%userprofile%%\""