Showing archive results for 2008

Mar 28, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Incrementally Rename Files Based on the File Creation Date?

ScriptingGuy1

Hey, Scripting Guy! I am trying to get my photos sorted in chronological order, even though – because they come from different cameras – they have different names. For example, one name type starts with DSC followed by a sequential number issued by one camera; another name type starts with IMG followed by a different sequential number. I want to ...

Scripting Guy!scripting techniquesVBScript
Mar 27, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Change the Last-Accessed Date of a File to Match Its Last-Modified Date?

ScriptingGuy1

Hey, Scripting Guy! How can I change the last-accessed date for all the files in a folder? I want the last-accessed date to match the date and time that the file was last modified.-- GW Hey, GW. Say, did you realize that yesterday was Opening Day for Major League Baseball? If you didn’t, well, don’t feel bad; even the Scripting Guy who writes th...

Scripting Guy!Windows PowerShellscripting techniques
Mar 26, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Standardize the Logon Name for All My Users?

ScriptingGuy1

Hey, Scripting Guy! My company would like me to change our Active Directory logon names from this format – kmyer – to this format: Ken.Myer. Is there a way I can script all these changes?-- DO Hey, DO. You know, sometimes the Scripting Guy who writes this column implies that he leads a dull and drab life, that nothing exciting ever happens to hi...

Scripting Guy!Active Directoryusers
Mar 25, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Add a Hotkey to an HTA Button?

ScriptingGuy1

Hey, Scripting Guy! How can I add a hotkey to a button in my HTA?-- TM Hey, TM. As usual, the Monday column is being written on Friday; however, the Scripting Guy who writes this column is having far more trouble getting things done than he usually does. That’s because today is day 2 of the NCAA basketball tournament (“March Madness”) and he’s t...

Scripting Guy!scripting techniquesVBScript
Mar 22, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Data Read From a Text File as Command-Line Parameters For a Batch File?

ScriptingGuy1

Hey, Scripting Guy! I'm trying to automate a tedious license server task. To do this, I need to loop through a text file line-by-line, grab out a user name, asset number, and license ID, and then pass those values to a batch file. How can I do all that?-- DM Hey, DM. Before we get started today is Friday, March 21, 2008 isn’t it? We wanted to do...

Scripting Guy!scripting techniquesVBScript