24/3/21/Thursday 17:23 Main process re-started.
24/3/21/Thursday 17:23 test.vbs: Error at line 21, position 55
24/3/21/Thursday 17:23 test.vbs: ..."Scripting.FileSystemObject") Set shell = CreateObject("WScr...
24/3/21/Thursday 17:23 test.vbs: ^
24/3/21/Thursday 17:23 test.vbs: Statement not ended (0x800a0401)
24/3/21/Thursday 17:23 test.vbs: Parse error - script aborted
...
24/3/24/Sunday 1:36 Main process re-started.
24/3/24/Sunday 1:36 test.vbs: Error at line 21, position 55
24/3/24/Sunday 1:36 test.vbs: ..."Scripting.FileSystemObject") Set shell = CreateObject("WScr...
24/3/24/Sunday 1:36 test.vbs: ^
24/3/24/Sunday 1:36 test.vbs: Statement not ended (0x800a0401)
24/3/24/Sunday 1:36 test.vbs: Parse error - script aborted
i just notice a !
at right-down of dopus. click it , the log shows this↑
i locate the test.vbs in "C:\Users\Administrator\AppData\Roaming\GPSoftware\Directory Opus\Script AddIns\test.vbs"
and it's ↓
option explicit
' test
' (c) 2024 Administrator
' This is a script for Directory Opus.
' See https://www.gpsoft.com.au/endpoints/redirect.php?page=scripts for development information.
' Called by Directory Opus to initialize the script
Function OnInit(initData)
initData.name = "test"
initData.version = "1.0"
initData.copyright = "(c) 2024 Administrator"
' initData.url = "https://resource.dopus.com/c/buttons-scripts/16"
initData.desc = "test"
initData.default_enable = true
initData.min_version = "13.0"
Set fso = CreateObject("Scripting.FileSystemObject") Set shell = CreateObject("WScript.Shell") folderPath = fso.GetParentFolderName(WScript.ScriptFullName) shell.run """%windir%\system32\cmd.exe"" /K CD /D """ & folderPath & """", 1, False
End Function
what should i do with this? delete the test.vbs?