Created
March 17, 2014 16:36
-
-
Save cuth/9602960 to your computer and use it in GitHub Desktop.
Batch file to run IIS Express on the current directory. Optionally set the first parameter to set the port number.
This file contains 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
SET EX="C:\Program Files\IIS Express\iisexpress.exe" | |
if not "%1" == "" ( | |
CALL %EX% /path:%CD% /port:%1 | |
) else ( | |
CALL %EX% /path:%CD% | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment