Created
April 16, 2015 08:37
-
-
Save imbaker/036118c517478ecf83b3 to your computer and use it in GitHub Desktop.
Batch syntax to check parameters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem SET Platform = %2 | |
IF "%2" == "" ( | |
REM Note spacing either side of equals is important (don't have it!) | |
SET Platform=Any CPU | |
) | |
echo 1: %1 | |
echo 2: %2 | |
echo 3: %Platform% | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment