Hey, Scripting Guy! How can I run a script any time Outlook is started?– AT Hey, AT. Today is Wednesday, and Wednesday is a busy day here at TechEd IT Forum. For one thing, this afternoon the Scripting Guys will be making a guest appearance at the TechNet Magazine booth. What will they be doing…
Year: 2007
Hey, Scripting Guy! How Can I Remove Old Files From All the Folders That Share a Folder Name?
Hey, Scripting Guy! We have a whole bunch of folders named Archive, all on the same computer. How can I search for all these folders, go through each one, and remove any files that are older than XX number of days?– CH Hey, CH. Well, it’s Day 2 of TechEd IT Forum here in Barcelona,…
Hey, Scripting Guy! How Can I Extract a User Name and Drive Name From a String Value?
Hey, Scripting Guy! We currently have user home directory information stored in this format: kenmyer on ‘atl-fs-001\vol’ (U:). How I can extract the user name and drive letter and change the format to this: U:\kenmyer?– AR Hey, AR. Well, it’s Monday, day 1 of the TechEd IT Forum, and the Scripting Guys have arrived in…
Hey, Scripting Guy! How Can I Save Information in an HTA as a Tab-Separated Values File?
Hey, Scripting Guy! I have an HTA that includes five text boxes. How can I save the values in those text boxes to a tab-separated values file?– EL Hey, EL. According to their itinerary, the Scripting Guys should land in Paris sometime around 8:00 AM on Friday, November 9th. OK, technically, Paris isn’t exactly Barcelona,…
Hey, Scripting Guy! How Can I Get the Name and whenCreated Values for All the Users in Active Directory?
Hey, Scripting Guy! How can I get the Name and whenCreated values for all the users in my Active Directory domain and then write that information to a comma-separated values file?– MM Hey, MM. Well, assuming all has gone according to plan, by the time most of your read this column the Scripting Guys will…
Hey, Scripting Guy! How Can I Remove a Value From the Path Environment Variable?
Hey, Scripting Guy! How can I remove a value from the Path environment variable?– MG Hey, MG. You know, today is Wednesday, November 7th, the day before the Scripting Guys head for Barcelona and Tech IT Forum. Even as we speak, Scripting Guy Jean Ross is running around frantically, trying to tie up all the…
Hey, Scripting Guy! How Can I Create a Bunch of .WAV Files in a Folder?
Hey, Scripting Guy! For testing purposes I need to create a bunch of empty .WAV files in a folder. How can I write a script that will create those files for me?– ZL Hey, ZL. You know, yesterday was a very exciting day for the Scripting Guy who writes this column: he got to work…
Hey, Scripting Guy! How Can I Make the Name of the File the First Line of Each Text File in a Folder?
Hey, Scripting Guy! How can I make the name of the file the first line of each and every text file in a folder?– DJ Hey, DJ. And, by the way, we hope your day is going better than ours. Are we having a bad day? You might say that. For example, this morning the…
Hey, Scripting Guy! How Can I Remove All the Network Printers on a Computer?
Hey, Scripting Guy! Is it possible to delete or remove all network printers from a workstation with a VBScript script, similar to the way you removed all the network drives on a computer?– WDC Hey, WDC. If you’ve been following our daily TechEd preview report, then you know that the Scripting Guys have been busy…
Hey, Scripting Guy! How Can I Determine the Value of the Last Cell in an Office Excel Range?
Hey, Scripting Guy! How can I determine the value of the last cell in a range like C1:C10?– MJdR Hey, MJdR. You know, just a few days ago word leaked that a Federal Emergency Management Agency (FEMA) press conference held to discuss the US government’s response to the recent spate of wildfires in California was…