Showing results for January 2005 - Page 3 of 5 - Scripting Blog [archived]

Jan 17, 2005
0
0

How Can I Change the Legal Warning Message Using a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use a script to change the legal warning message on a computer?-- RB Hey, RB. As you all probably know, when you press Ctrl-Alt-Delete to log on to Windows, you’re typically presented with a logon box. You type your user name, domain, and password in the box, click OK, and away you go. However, Windows includes a...

Scripting Guy!VBScriptoperating system
Jan 14, 2005
0
0

How Can I Tell if a Folder Has Any Files with a Specific File Extension?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I verify whether or not any files with a specific file extension exist in a folder?-- GM Hey, GM. This is actually a pretty easy thing to do. All we have to do is write a WMI query that includes the path of the folder we want to check as well as the file extension we’re checking for. For example, this script ...

Scripting Guy!scripting techniquesVBScript
Jan 13, 2005
0
0

How Can I Map a Printer, But Only If the User Doesn’t Have a Local Printer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’d like to have a logon script that maps a network printer for each user unless that user already has a local printer. If they have a local printer, I don’t want to add the network printer. Is that possible?-- AG Hey, AG. Not only is that possible, but it’s actually pretty easy, especially if you’re running Windows ...

Scripting Guy!VBScriptprinting
Jan 12, 2005
0
0

How Can I Access a Type Library From Within a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I access a type library from within a script?-- XA Hey, XA. For those of you unfamiliar with the term, a type library is a file or a component that contains type information for a COM object; type information describes the object and the things you can do with it. Among the information found in a type library are the ...

Scripting Guy!scripting techniquesVBScript
Jan 11, 2005
0
0

How Can I Put the User Name into the Footer of a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I put the user name into the footer of a Microsoft Word document?-- RR Hey, RR. That’s an interesting question, and probably the first how-do-I-put-the-user-name-in-the-footer-of-a-Word-document question we’ve ever received. (No, really!) But what the heck; let’s see if we can find an answer for you. Besides, ...

Scripting Guy!VBScriptOffice