Showing archive results for 2004

Oct 25, 2004
Post comments count0
Post likes count0

How Can I Send Data from One Script to Another?

ScriptingGuy1

Hey, Scripting Guy! A while back you showed how we could use the InputBox function to prompt a user to enter a value we could then use in our script. What I’d like to know is, is there any way I can take that value and use it in another script?-- JW Hey, JW. We’re guessing here, but apparently you’d like to have a script that, among other things...

Scripting Guy!scripting techniquesVBScript
Oct 22, 2004
Post comments count0
Post likes count0

How Can I Display a Hyperlink in a Message Box?

ScriptingGuy1

Hey, Scripting Guy! Is it possible to have a hyperlink to a Web page in a message box?-- CB Hey, CB. Sounds like you want to display a message box to users and, ideally, you’d like to include a hyperlink they could click on for more information. For example, suppose a user tried to access some resource and was turned away. In a case like that, y...

Scripting Guy!scripting techniquesVBScript
Oct 21, 2004
Post comments count0
Post likes count0

How Can I Determine the OU a User Account Belongs To?

ScriptingGuy1

Hey, Scripting Guy! How do I determine the OU a user account belongs to?-- CO Hey, CO. Ah, yes: the OU a user belongs to. No doubt a lot of you are thinking, “Well, there’s probably an OU property of some kind in Active Directory that gives you that information. All you have to do is locate the user account, and then get the value of the OU prop...

Scripting Guy!VBScriptActive Directory
Oct 20, 2004
Post comments count0
Post likes count0

How Can I Get a List of All the Files in a Folder and Its Subfolders?

ScriptingGuy1

Hey, Scripting Guy! How can I use a script to show me all the files in a folder? And then how can I modify that script so it shows me all the files in any subfolders of that folder?-- CS Hey, CS. Yesterday we showed everyone a script that changed all the files in a folder from read-only to read-write. We also promised that, in today’s column, we...

Scripting Guy!VBScriptstorage
Oct 19, 2004
Post comments count0
Post likes count0

How Can I Change a Read-only File to a Read-write File?

ScriptingGuy1

Hey, Scripting Guy! How can I change a read-only file to a read-write file?-- WR Hey, WR. We don’t mean to shock you, but how can you change a read-only file to a read-write file? Why, by using a script, of course! We know: you never saw that coming, did you? As a matter of fact, you can use this script, which changes the file C:\Scripts\Test.vb...

Scripting Guy!VBScriptstorage