protected static function GetWShellInstance() { if (self::$WShellInstance === null) { self::$WShellInstance = new \COM("WScript.Shell"); } }