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.


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

Thomas Bandixen's Picture

About Thomas Bandixen

Thomas Bandixen is an experienced senior consultant with a demonstrated history of working in the information technology and services industry. Skilled in Angular, TypeScript, ASP.NET (C#, Web API, MVC, ...), SQL and .NET Core Framework. Strong consulting professional with a Bachelor of Science (BSc) focused in Computer Science from ZHAW School of Engineering.