Skip to content

Instantly share code, notes, and snippets.

@Ariex
Last active January 10, 2019 03:31
Show Gist options
  • Save Ariex/4fb593a17e6aeb639934ad8acd2fd1e2 to your computer and use it in GitHub Desktop.
Save Ariex/4fb593a17e6aeb639934ad8acd2fd1e2 to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\IISExpress]
@="Start IISExp Site Here"
"icon"=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
00,46,00,69,00,6c,00,65,00,73,00,5c,00,49,00,49,00,53,00,20,00,45,00,78,00,\
70,00,72,00,65,00,73,00,73,00,5c,00,69,00,69,00,73,00,65,00,78,00,70,00,72,\
00,65,00,73,00,73,00,74,00,72,00,61,00,79,00,2e,00,65,00,78,00,65,00,00,00
[HKEY_CLASSES_ROOT\Directory\Background\shell\IISExpress\command]
@="cmd /C set /a _port=(%%RANDOM%%*20000/32767+10000) & call \"C:\\Program Files\\IIS Express\\iisexpress.exe\" /port:%%_port%% /path:\"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment