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

Jan 24, 2005
0
0

How Can I Determine the Next Available Drive Letter on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the next available drive letter on a computer?-- TW Hey, TW. Interesting question, and one that crops up from time-to-time. In the old days, when users only had drives A, B, and C, this was easy; you could pretty much guess that any drive letter other than those three would be available. Nowadays, though, ...

Scripting Guy!scripting techniquesVBScript
Jan 21, 2005
0
0

How Can I Find and Move an Active Directory Computer Account?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I need to move a computer account from one OU to another; however, I don’t know which OU the computer account is currently in. Any advice?-- AA Hey, AA. You know, one thing that marks all the great advice columns - Dear Abby; Ann Landers; Hey, Scripting Guy! - is the fact that, over time, these columns tend to give the same a...

Scripting Guy!VBScriptActive Directory
Jan 20, 2005
0
0

How Can I Tell Which Switches Were Used When Starting an Executable File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is there any way to tell which command-line arguments (if any) were used when starting an executable file?-- TO Hey, TO. We don’t mean to cause a scandal in the scripting world - well, OK, we don’t mean to cause any more scandals in the scripting world. But - gasp! - we’re going to cheat a little bit here. This is the first t...

Scripting Guy!VBScriptoperating system
Jan 19, 2005
0
0

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

ScriptingGuy1
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
0
0

How Can I Make a Read-Only File Writeable?

ScriptingGuy1
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