Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1682

SCRIPT and GetObject

$
0
0
As @vefatica discovered recently, it would appear that GetObject does not work well with the SCRIPT command.

This example;
Code:
Set oMath = Nothing
Set oMath = GetObject("script:e:\utils\math.wsc")
oMath.StartFSO()
oMath.Display("Test")
Set oMath = Nothing
...executed with;
Code:
SCRIPT test.vbs
causes TCC to disappear.

Joe
Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  27.00.18 x64   Windows 10 [Version 10.0.18363.1256]

Viewing all articles
Browse latest Browse all 1682

Trending Articles