How to reference globals in WSF?[2 replies] microsoft.public.scripting.wsh, Saturday, January 26, 2002
In a wsf, I createobject and then use properties and methods. Is there
a way to use the object container's globals?
for example Scripting.FileSystemObject
ForReading
WScript.Shell creates error[5 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
Hi,
I have a Windows XP box with all updates applied to it and I noticed that I
can't run a simple line like that one :
WshShell = WScript.CreateObject("WScript.Shell")
The first error ...
Getting hardware info from WSH[1 reply] microsoft.public.scripting.wsh, Friday, January 25, 2002
I'm trying to find a way to check the status of a tape drive frmo a script.
Find out if there is a tape loaded and if it is write protected or not. I'm
not sure if there is an easy way. I'm n...
add group to directory security tab[1 reply] microsoft.public.scripting.wsh, Friday, January 25, 2002
Anybody have any suggestions how I could add a user group
to a folders' (or files') security tab programmatically?
I hope theirs another way beside using cacls.exe. Any
help will be GRE...
changing foreground color in cscript[2 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
Please forgive me if this question has been addressed before, but does
anyone know how to change the console foreground/background colors in a
.vbs?
(WSH 5.6)
thanks in advance
Object not a colletion[2 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
I have a Win98 box that has Script host 5.0 installed. I am trying to shut
it down through script by getting the Win32_operatingSystem object (by
calling Win32Shutdown). When I execute the...
Debugger questions[4 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
I am doing some debugging of "pure" .js and .vbs files now, and have a
couple of questions about that which I haven't seen answered.
(1) Is there a known performance issue for debugging in ...
how to convert .vbs into .exe?[4 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
Is there a way I can convert my vbs script into an EXE file? I don't want
anyone to see the code in the script and would like something like an exe
that they can double click and not edit or...
how to set hidden flag[4 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
Does anybody know how to set (or unset) the hidden flag on
a directory programmatically? Any help will be
appreciated.
Force script to run before Windows Logon[2 replies] microsoft.public.scripting.wsh, Friday, January 25, 2002
Hi,
DHCP does not provide a NT domain to roaming DHCP clients this is why I
require a method to populate the DOMAIN field in the logon dialog box.
I have written a script that reads the ...