This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Usage: terminator[.vbs] [path to starting directory] | |
' contents enclosed in square brackets optional | |
args = "-c" & " -l " & """DISPLAY=:0 terminator""" | |
' If there's a single argument, interpret it as the starting directory | |
If WScript.Arguments.Count = 1 Then | |
dir = WScript.Arguments(0) | |
Else | |
dir = "" |