I came across a CMD batch file with this syntax:
What does %~1 mean as opposed to just %1 ? I tried to test it and got the same results both ways.
Code:
if "%~1" == "/?" (
echo usage: ...
goto :eof
)
What does %~1 mean as opposed to just %1 ? I tried to test it and got the same results both ways.