попытка замены батника на vbs, чтобы не ругался антивирус

This commit is contained in:
Razvalyaev 2025-10-21 05:39:45 +03:00
parent 141ea6bac9
commit 9093084257
2 changed files with 6 additions and 2 deletions

View File

@ -1,2 +0,0 @@
@echo off
start "" "%~dp0.\html\index.html"

6
Doc/Documentation.vbs Normal file
View File

@ -0,0 +1,6 @@
' open_index.vbs
Set fso = CreateObject("Scripting.FileSystemObject")
scriptPath = WScript.ScriptFullName
scriptFolder = fso.GetParentFolderName(scriptPath)
htmlPath = scriptFolder & "\html\index.html"
CreateObject("WScript.Shell").Run """" & htmlPath & """", 1, False