Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! How Can I Retrieve Information About All the Shortcut Files in a Folder?

(image) Hey, Scripting Guy! I have a folder with about 1800 shortcuts in it. I need to retrieve the file name and the target for each of these shortcuts in order to import that information into a database. Do you have any idea how I can retrieve this information for each and every shortcut file in a folder?-- JK(image) (image) (image) HeYy...

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

(image) 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 ...

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

(image) 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(image) (image) (image) Hey, GW. Say, did you realize that yesterday was Opening Day for Major League Baseball? If you didn’t, well, don’t feel ...

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

(image) 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(image) (image) (image) Hey, DO. You know, sometimes the Scripting Guy who writes this column implies that he leads a dull and drab life...

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

(image) Hey, Scripting Guy! How can I add a hotkey to a button in my HTA?-- TM(image) (image) (image) 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 ...