Hey, Scripting Guy! How can I change the desktop wallpaper to one of six pre-defined selections? — SB Hey, SB. You know, when the Scripting Guy who writes this column first sat down to tackle this problem he thought he had a really cool solution for you. Recently this Scripting Guy read about Johannes Trithemius,…
Year: 2007
How Can I Delete Just the IP Addresses From Each Line in a Text File?
Hey, Scripting Guy! I have a file that has IP addresses and server names on each line. How can I delete the IP addresses, leaving just the server names?– RR Hey, RR. In case you’re wondering, as we’re writing today’s column temperatures are still right around freezing and there’s still snow and ice everywhere you…
Hey, Scripting Guy! How Can I Set the Default File Path in Office Excel to a User’s Home Directory?
Hey, Scripting Guy! How can I set Office Excel’s default file path to a user’s home directory? — LL Hey, LL. We hope that the script we’re about to show you will answer your question; if it doesn’t, you might have to wait awhile before we can get back to you on it. That’s because…
Hey, Scripting Guy! How Can I List All the Groups in a Windows NT 4.0 Domain?
Hey, Scripting Guy! How can I list all the groups in a Windows NT 4.0 domain? — MN Hey, MN. It’s Martin Luther King, Jr. Day here in the USA, and, normally, you’d expect the Scripting Guy who writes this column to start things off by relating some irrelevant anecdote about Dr. King. Oddly enough,…
Hey, Scripting Guy! How Can I Subtract Days From a UTC Date-Time Value in Windows 2000?
Hey, Scripting Guy! On a Windows 2000 computer, how can I subtract days from a UTC date-time value? — KP Hey, KP. Yes, we do blame all of this on Scripting Guy Dean Tsaltas. The Scripting Guy who writes this column has known Dean for six years now, and Dean has spent those entire six…
Hey, Scripting Guy! How Can I Take Action Based on the First Line of a Text File?
Hey, Scripting Guy! How can I read the first line of every file in a folder and then move each file if the line contains thisdomain.com or thatdomain.com? — AZ Hey, AZ. We’ll get to your question in a moment. However, before we do that we have something important to say: flight of cheeses. OK,…
Hey, Scripting Guy! How Can I Retrieve the Subject Property for a .MSI File?
Hey, Scripting Guy! How can I retrieve the Subject property for a .MSI file? — J L-G Hey, J L-G. Before you ask, the Scripting Guy who writes this column has no comment on the January 8th Florida-Ohio State football game. That’s primarily because this Scripting Guy refuses to recognize the “Bowl Championship Series” as…
Hey, Scripting Guy! How Can I Add a New Item to the Microsoft Office Word AutoCorrect List?
Hey, Scripting Guy! How can I add a new item to Office Word’s AutoCorrect list? — OK Hey, OK. To begin with, we should point out that we have no way of knowing whether your initials really are O and K; after all, they could just as easily be TR, and you could actually be…
Hey, Scripting Guy! How Can I Determine the Version of DirectX Installed on a Computer?
Hey, Scripting Guy! How can I determine the version of DirectX installed on a computer? — ML Hey, ML. How can you determine the version of DirectX installed on a computer? That’s an important question, and we’ll get to that in a moment. Before we do that, however, there’s an even more important issue we…
Hey, Scripting Guy! How Can I Get the “Date Picture Taken” Property From a .JPG File?
Hey, Scripting Guy! How can I get the Date Picture Taken property from a .JPG file? — MW Hey, MW. Before we answer your question we should point out that this is likely to be the last Hey, Scripting Guy! column for quite some time to come. Not that we’re going anywhere, mind you. It’s…