SyntaxFix
Write A Post
Hire A Developer
Questions
IF "%~1"=="" GOTO :Usage
~ will de-quote %1 if %1 itself is quoted.
" " will protect from special characters passed. for example calling the script with &ping