Simple IIS Express Script

Simple IIS Express Script

To inspect a windows folder (that eg. contains HTML files) in your web browser using IIS Express, you can use this script:

With %RANDOM% %%100 +8800 it creates a random number to use it as the port number. The generated URL gets called at the end of the script, so you don’t need to copy and past the URL into your browser.

Usage:

Copy this script into the desired folder and execute it, done! :)

Thomas Bandixen's Picture

About Thomas Bandixen

Thomas Bandixen is a senior consultant, Microsoft Certified Trainer (MCT) and speaker working for the swiss IT service provider Trivadis AG. His primary focus is on modern web architectures using Angular, TypeScript, HTML5, CSS and ASP.NET Core.

Switzerland https://thomasbandixen.ch