Scripting Blog [archived]

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

How Can I Parse a Tab-Delimited File and Then Save That as a Comma-Separated Values File?

(image) Hey, Scripting Guy! How can I parse a tab-delimited file, and then save the resulting information as a comma-separated values file?-- DM(image) (image) (image) Hey, DM. You know, yesterday morning the Scripting Guy who writes this column had to scrape the ice off his windshield; today it’s much warmer – 44 at last report – ...

How Can I Determine the Signal Strength of a Wireless Connection?

(image) Hey, Scripting Guy! Any time I’m connected to a wireless network I can open the Wireless Network Connection Status dialog box and see a series of bars – 1 through 5 – that indicates the signal strength. How can I get that same information using a script?-- RK(image) (image) (image) Hey, RK. Before we answer today’s question...

How Can Users Type Data Into an HTA Without Using Text Boxes?

(image) Hey, Scripting Guy! I use HTAs as data entry forms, but I don’t really like the way the forms look when they have a bunch of text boxes on them. How can I allow my users to type data into a form without using text boxes?-- JJ(image) (image) (image) Hey, JJ. Before we begin we should, in all fairness, give you a chance to withdraw...

How Can I Map a Drive Based on a User’s Name and OU?

(image) Hey, Scripting Guy! I need to create a logon script that maps a network drive based on the logged-on user’s user name and OU. How can I do that?-- KB(image) (image) (image) Hey, KB. You know, KB, this is probably the toughest day of the year for the Scripting Guy who writes this column. For the past four days – Thursday, Friday...

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’...