Showing tag results for scripting techniques

Dec 2, 2005
Post comments count0
Post likes count0

How Can I Change the Location of a User’s Home Drive in Active Directory?

ScriptingGuy1

Hey, Scripting Guy! How can I change the location of a user’s home drive in Active Directory?-- DS Hey, DS. Did you ever read the story The Tell-Tale Heart by Edgar Allan Poe? In that story the narrator commits the perfect crime: he kills an old man and then dismembers and hides the body, taking such care that no one could possibly know that a m...

Scripting Guy!scripting techniquesVBScript
Dec 1, 2005
Post comments count0
Post likes count0

How Can I Remove All the Local Printers from a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I remove all the local printers from a computer?-- JW Hey, JW. You did say that you wanted to do this only on computers running Windows XP or Windows Server 2003, didn’t you? You didn’t? Oh. Well, we’re going to pretend that you did, because this is a very easy task to carry out on Windows XP and Windows Server 2003. ...

Scripting Guy!scripting techniquesVBScript
Nov 28, 2005
Post comments count0
Post likes count0

How Can I Rename Files Like _JKG1234.jpg to 272_DSC_1234.jpg?

ScriptingGuy1

Hey, Scripting Guy! How can I rename files like _JKG1234.jpg to 272_DSC_1234.jpg?-- NA Hey, NA. You know, NA, we feel sorry for you. Why? Well, on the one hand you’re unbelievably lucky. After all, the Scripting Guys never write scripts that they actually use, yet you somehow managed to hit upon an exception. Talk about defying the odds! At the ...

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

How Can I Import a Fixed-Width File into Microsoft Excel?

ScriptingGuy1

Hey, Scripting Guy! How can I import a fixed-width file into Microsoft Excel?-- JP Hey, JP. We have a confession to make here, something we’re terribly ashamed of: for a moment - just for a moment, mind you - we doubted Microsoft Excel. Yes, we know: how could we do such a thing? All we can say is that we made a mistake, and we’re sorry. For som...

Scripting Guy!scripting techniquesVBScript
Nov 15, 2005
Post comments count0
Post likes count0

How Can I Use ADO to Read a Text File Where All the Data is on a Single Line?

ScriptingGuy1

Hey, Scripting Guy! I have a fixed-width text file which includes first name (6 characters), last name (13 characters), and department (9 characters) all on a single line. How do I read that using ADO?-- DW Hey, DW. Well, to be perfectly honest, we don’t think you can read a file like this using ADO (ActiveX Data Objects). ADO is a fantastic way...

Scripting Guy!scripting techniquesVBScript