Showing tag results for VBScript

Dec 2, 2004
Post comments count0
Post likes count0

How Can I Prevent a Local User From Changing His or Her Password?

ScriptingGuy1

Hey, Scripting Guy! How can I configure a local user account so that the user can’t change his or her password?-- DC Hey, DC. The secret here lies in the mysterious userFlags attribute. We’ll show you how to set a user account so that the user can’t change his or her password, then we’ll fill you in on some of the other local user account proper...

Scripting Guy!VBScriptother Directory Services
Dec 1, 2004
Post comments count0
Post likes count0

Can I Combine Multiple Text Files Using a Script?

ScriptingGuy1

Hey, Scripting Guy! From the command prompt the command copy a.txt+b.txt ab.txt will take the contents of a.txt and the contents of b.txt and combine them into a new file named ab.txt. Can I do the same thing with a script?-- DL Hey, DL. In yesterday’s column we dealt with text files; more specifically, we talked about how you can use a script t...

Scripting Guy!scripting techniquesVBScript
Nov 30, 2004
Post comments count0
Post likes count0

Can I Edit .INI Files Using a Script?

ScriptingGuy1

Hey, Scripting Guy! Can I edit.INI files using a script?-- MZ Hey, MZ. Yes, you can edit .INI files (or any kind of text files, for that matter) using a script. The method you have to use might not be the most elegant process in the world, but it’ll work. And that’s all we really care about, right? Before we get into the whys and wherefores of e...

Scripting Guy!scripting techniquesVBScript
Nov 29, 2004
Post comments count0
Post likes count0

How Can I Attach a File to an Email Sent Using CDO?

ScriptingGuy1

Hey, Scripting Guy! I understand how to use CDO to send an email, but how do I include an attachment with that email?-- RT Hey, RT. And, incidentally, thanks for this question. At least one of the Scripting Guys spent most of his Thanksgiving weekend eating and, on the rare occasions when he wasn’t eating, playing tackle football with a phalanx ...

Scripting Guy!VBScriptmessaging and communication
Nov 24, 2004
Post comments count0
Post likes count0

How Can I Retrieve Disk Quota Information for a Single User?

ScriptingGuy1

Hey, Scripting Guy! How can I retrieve disk quota information for a single user?-- AB Hey, AB. There are a couple different ways to get disk quota information for a single user, depending on which version of Windows you have installed on the computer. If you’re running Windows XP or Windows 2003, you can retrieve disk quota information for a use...

Scripting Guy!VBScriptstorage