' Runs StrataTray.ps1 without a console window (used by the autostart shortcut). Set fso = CreateObject("Scripting.FileSystemObject") dir = fso.GetParentFolderName(WScript.ScriptFullName) CreateObject("WScript.Shell").Run "powershell.exe -NoProfile -ExecutionPolicy Bypass -STA -WindowStyle Hidden -File """ & dir & "\StrataTray.ps1""", 0, False