SyntaxFix
Write A Post
Hire A Developer
Questions
You have to do the following:
if "%1" == "" ( echo The variable is empty ) ELSE ( echo The variable contains %1 )