Showing tag results for Scripting Guy!

Jun 21, 2005
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Retrieve the Value of an Active Directory Attribute that has a Hyphen in Its Name?

ScriptingGuy1

Hey, Scripting Guy! We have a custom application that adds some attributes to the Active Directory schema. These attributes have hyphens in their names, and I can’t figure out how to retrieve the value of those attributes; any time I try to connect to one I get an error message. Any suggestions?-- TW Hey, TW. You know a lot of people don&rs...

Scripting Guy!VBScriptActive Directory
Jun 20, 2005
Post comments count0
Post likes count0

How Can I Determine if a File Exists and, if It Does, Exit the Script?

ScriptingGuy1

Hey, Scripting Guy! How can I check to see if a particular file exists and, if it does, exit the script?-- TO Hey, TO. There are at least two ways to check for the existence of a file (that’s the real key here; exiting the script is easy). One of these approaches uses the FileSystemObject and the other uses WMI, and we’re going to show you both ...

Scripting Guy!VBScriptstorage
Jun 17, 2005
Post comments count0
Post likes count0

How Can I Show Users a Dialog Box That Only Lets Them Select Folders?

ScriptingGuy1

Hey, Scripting Guy! In previous columns you’ve shown us how to present users with a dialog box that enables them to select files. Is there any way to show them a dialog box that only lets users select folders?-- LP Hey, LP. You know, you’ve come to the right place: the Scripting Guys have just what the doctor ordered. Actually, we have the Brows...

Scripting Guy!scripting techniquesVBScript
Jun 16, 2005
Post comments count0
Post likes count0

How Can I Delete Data from a Spreadsheet Yet Keep All the Formatting?

ScriptingGuy1

Hey, Scripting Guy! How can I delete data from a spreadsheet yet keep all the formatting?-- TB Hey, TB. From your email it sounds like you have a script that periodically replaces data in a spreadsheet with new, up-to-date values. The spreadsheet has been preformatted, and what you’d like to do is delete all the old values - thus making room for...

Scripting Guy!VBScriptOffice
Jun 15, 2005
Post comments count0
Post likes count0

How Can I Determine Which Domain Controller Authenticated a User?

ScriptingGuy1

Hey, Scripting Guy! In my logon script how can I determine the name of the domain controller that authenticated the user?-- CK Hey, CK. You know, one of the unwritten rules for being a Scripting Guy is that you should never do anything hard more than once a week. (Why is this an unwritten rule? Mainly because we were all too lazy to write it dow...

Scripting Guy!VBScriptActive Directory