Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ("%1"=="") goto usage
- @echo This should not execute
- @echo Done.
- goto :eof
- :usage
- @echo Usage: %0 <EnvironmentName>
- exit 1
- @echo off
- if [%1]==[] goto usage
- @echo This should not execute
- @echo Done.
- goto :eof
- :usage
- @echo Usage: %0 ^<EnvironmentName^>
- exit /B 1
- echo "%1"
- if ("%1"=="") echo match1
- if "%1"=="" echo match2
- C:>echo ""
- ""
- C:>if ("" == "") echo match1
- C:>if "" == "" echo match2
- match2
Add Comment
Please, Sign In to add comment