Showing archive results for 2005

Jan 19, 2005
Post comments count0
Post likes count0

How Can I Change the Caption for the My Computer Icon?

ScriptingGuy1

Hey, Scripting Guy! Instead of having the My Computer icon on the desktop read My Computer, I’d like to replace that with the name of the computer. Can I do that using a script?-- TG Hey, TG. We get asked this question quite a bit; apparently a lot of you find it convenient to have the computer name right on the desktop, making it easier for use...

Scripting Guy!VBScriptdesktop management
Jan 18, 2005
Post comments count0
Post likes count0

How Can I Make a Read-Only File Writeable?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to use a script to change the read-only attribute of a file?-- ZO Hey, ZO. Of course, you can do this; the FileSystemObject can do anything! Well, OK, it can’t do either of those things. And, no, it can’t do that, either. But it can change a read-only file to a writeable file, and with just a few lines of code....

Scripting Guy!scripting techniquesVBScript
Jan 17, 2005
Post comments count0
Post likes count0

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

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 p...

Scripting Guy!VBScriptoperating system
Jan 14, 2005
Post comments count0
Post likes count0

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

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 retrieves...

Scripting Guy!scripting techniquesVBScript
Jan 13, 2005
Post comments count0
Post likes count0

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

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 XP or Win...

Scripting Guy!VBScriptprinting