попытка замены батника на vbs, чтобы не ругался антивирус
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
@echo off
|
|
||||||
start "" "%~dp0.\html\index.html"
|
|
||||||
6
Doc/Documentation.vbs
Normal file
6
Doc/Documentation.vbs
Normal 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
|
||||||
Reference in New Issue
Block a user