Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

SCRIPT ... TCC disappears

May
12,807
161
When I "SCRIPT test.vbs", TCC disappears. I can run it OK by name or with cscript.

Code:
v:\> type test.vbs
Set iWMI = GetObject("winmgmts:\\.\root\CIMV2")
Set colItems = iWMI.ExecQuery("SELECT ProcessId,Name,CreationDate,ParentProcessId,KernelModeTime,UserModeTime,WorkingSetSize FROM Win32_Process where Name != 'cscript.exe'")
 
Windows bug (in ntdll), in an API that Microsoft has (long ago) deprecated and no longer supports.

SCRIPT itself is 99.99% obsolete - why do you want to use it?
I don't really. It's use came up in another thread.
 

Similar threads

Back
Top