Showing tag results for VBScript

Mar 28, 2006
Post comments count0
Post likes count0

How Can I Disable the Keep Printed Documents Attribute on a Printer?

ScriptingGuy1

Hey, Scripting Guy! How can I disable the Keep Printed Documents attribute on a printer?-- JJ Hey, JJ. You didn’t mention which operating system you’re trying to do this on, but we hope it’s a Windows XP or Windows Servers 2003 computer. Why? Well, on a Windows XP or Windows Server 2003 machine, this is easy; on any other version of Windows it’s...

Scripting Guy!VBScriptprinting
Mar 27, 2006
Post comments count0
Post likes count0

How Can I Determine the Default Script Host on a Computer Before I Run a Script?

ScriptingGuy1

Hey, Scripting Guy! I know that when I run a script I can use code to determine whether the script is running under WScript or CScript. What I can’t figure out is this: how can I determine the default script host on a computer before I run a script?-- AT Hey, AT. You know, it’s not very often that people completely stump the Scripting Guys; howe...

Scripting Guy!scripting techniquesVBScript
Mar 24, 2006
Post comments count0
Post likes count0

How Can I Retrieve a List of the Commands Typed Into the Run Dialog Box?

ScriptingGuy1

Hey, Scripting Guy! Sometimes I type commands in the Run dialog box that I’d like to retrieve later on. I know the most recent commands I used are cached somewhere; that’s because they show up when I start typing in the Run dialog box. How can I use a script to retrieve these commands?-- KJ Hey, KJ. You know, our first thought upon reading your ...

Scripting Guy!VBScriptoperating system
Mar 23, 2006
Post comments count0
Post likes count0

How Can I Write a Script That Will Open a Text File and Shuffle the Words Found in That File?

ScriptingGuy1

Hey, Scripting Guy! My daughter has a flash-card style program that gets its list of words from a text file. How can I write a script that will open that file and automatically shuffle the list of words?-- SN Hey, SN. You know, for the most part we try to keep this column focused on practical system administration tasks: we tell you how to set d...

Scripting Guy!scripting techniquesVBScript
Mar 22, 2006
Post comments count0
Post likes count0

How Can I Get a List of All the Users Who Have an Alternate Recipient?

ScriptingGuy1

Hey, Scripting Guy! How can I get a list of all the users who have an alternate recipient (altRecipient)?-- SA Hey, SA. You know, one of the great things about being a Scripting Guy is that we don’t ever have to know what we’re talking about; all we do have to know is how to write a script that does whatever it is you ask us to do and everyone’s...

Scripting Guy!VBScriptActive Directory