@echo off cd /d %~dp0 if "%1" == "h" goto begin mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit :begin ::regsvr32 /s "C:\Program Files (x86)\WinService\wwwroot\screen-capture-recorder.dll" regedit /s install.reg