[go: up one dir, main page]

Menu

[r123]: / trunk / doff-icon.vbs  Maximize  Restore  History

Download this file

10 lines (6 with data), 324 Bytes

1
2
3
4
5
6
7
8
9
On Error Resume Next
path = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)
CreateObject("WScript.Shell").Run(path & "\doff.exe /tray")
If Err.Number <> 0 Then
MsgBox "Please ensure doff.exe is in" & vbCrLf & vbCrLf & path, vbExclamation, "Failed to run doff.exe"
End If