Showing archive results for 2004

Oct 11, 2004
Post comments count0
Post likes count0

How Can I Automatically Run a Script Any Time a File is Added to a Folder?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to have a script automatically run any time a file is added to a specific folder?-- MB Hey, WM. Yes, this is possible, thanks to the magic of WMI events, which allow you to write a script to monitor for something of interest (like a file being added to a folder) and then take some action any time an event like ...

Scripting Guy!scripting techniquesVBScript
Oct 8, 2004
Post comments count0
Post likes count0

How Can I Add a Domain User to a Local Administrators Group?

ScriptingGuy1

Hey, Scripting Guy! How can I add a domain user to the local Administrators group in a computer?-- MB Hey, MB. One reason we started doing this column was because we wanted to know more about what system administrators do (and script) on a regular basis. As it is, sitting here in our luxurious penthouse suites atop the Microsoft campus, we’re no...

Scripting Guy!VBScriptActive Directory
Oct 7, 2004
Post comments count0
Post likes count0

How Can I Determine the Owner of a File?

ScriptingGuy1

Hey, Scripting Guy! Is there a way to determine the owner of a file by using a script?-- BD Hey, BD. As a matter of fact there is a way to use a script to determine the owner of the file, though it’s understandable why you might not be able to find that information on your own. After all, there are two main scripting interfaces used for managing...

Scripting Guy!VBScriptsecurity
Oct 6, 2004
Post comments count0
Post likes count0

How Can I Tell Which Scripts are Running on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I tell which scripts are running on a computer?-- NW Hey, NW. This is a question we’re always a little reluctant to answer, because there’s a 50-50 chance you’ll be disappointed with what you hear. If you are running Windows 2000 (or a previous version of Windows), the answer is pretty straightforward: you can’t. A sc...

Scripting Guy!VBScriptoperating system
Oct 5, 2004
Post comments count0
Post likes count0

How Can I Pause a Script and Then Resume It When a User Presses a Key on the Keyboard?

ScriptingGuy1

Hey, Scripting Guy! I would like to be able to pause my script, then have it resume as soon as the user presses any key on the keyboard. How do I do that?-- AL Hey, AL. Boy, this question takes us back: “Press any key to continue,” along with “Abort, Retry, or Fail,” has to be one of the most famous phrases in computing history. Excuse us for a ...

Scripting Guy!scripting techniquesVBScript