@echo off rem Starts Server Monitor (web) and opens the page. Another port: set PORT=9000 before running. cd /d "%~dp0" if not defined PORT set PORT=8765 start "" /b powershell -NoProfile -Command "Start-Sleep 2; Start-Process http://127.0.0.1:%PORT%" node server.js if errorlevel 1 pause