Scripting Blog [archived]

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

How Can I Create a Shortcut For an Executable File That Uses Parameters?

(image) Hey, Scripting Guy! How can I create a shortcut where the target path is an executable file that uses parameters (for example, something.exe -t –s)?-- MC (image) (image) (image) Hey, MC. A week or so ago we mentioned that we were going to make some changes to Hey, Scripting Guy!; in particular, we were going to stop wasting time ...

How Can I Start a Process and Then Log the User Off When That Process Ends?

(image) Hey, Scripting Guy! How can I write a script that starts a process, waits until that process ends, and then logs the user off the computer?-- AG(image) (image) (image) Hey, AG. You know, the Scripting Guy who writes this column is never one to brag, mainly because he never has much of anything to brag about. In addition tot that, ...

How Can I Tell Which Version of QuickTime is Installed on a Computer?

(image) Hey, Scripting Guy! How can I tell whether or not QuickTime is installed on a computer, and, if so, which version is installed?-- IU(image) (image) (image) Hey, IU. You know, for some reason this column suddenly seems to have become a daily dancing column rather than a daily scripting column. After all, just yesterday we recapped ...

Hey, Scripting Guy! How Can I Determine the Grace Period for a Computer Running Windows Vista?

(image) Hey, Scripting Guy! How can I determine the remaining operating system grace period for a computer running Windows Vista?-- LD(image) (image) (image) Hey, LD. You know, a number of years ago the Scripting Guy who writes this column came outside after work only to discover that his car wouldn’t start. At that time he was working ...

How Can I Delete a Desktop Shortcut If I Don’t Know the Shortcut’s File Path?

(image) Hey, Scripting Guy! I need to delete some desktop shortcuts; however, I don’t know which folder those shortcuts might be in. For example, they might be in C:\Documents and Settings\All Users\Desktop or they might be in, say, C:\Documents and Settings\kenmyer\Desktop. How can I delete these shortcuts if I’m not sure where they’...