Showing tag results for VBScript

May 7, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Evaluate a Condition and Select from Several Options with Windows PowerShell?

ScriptingGuy1

Hey, Scripting Guy! I want to evaluate a condition and select from several different options. I know I could use the If…Then…ElseIf to do this, but it is somewhat cumbersome and yesterday you said there was a better way to do these kinds of things. What’s the better way?- KM Hi KM, You are not going to believe this. But the moment I read your qu...

Scripting Guy!Windows PowerShellscripting techniques
Oct 27, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create an HTA to Do Temperature Conversions?

ScriptingGuy1

Hey, Scripting Guy! I read with interest your "blog from down under," and I was interested in your function that converts Fahrenheit to Celsius. My wife and I are going on vacation to Germany, and I want to be able to do metric conversions. The problem, however, is that I do not want to install Windows PowerShell on my wife's laptop. Can you chan...

Scripting Guy!scripting techniquesVBScript
Aug 25, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Troubleshoot Drive-Mapping Issues?

ScriptingGuy1

Hey, Scripting Guy! We have this problem at work. Users seem to always be losing their mapped drives. It is a real mess, and we spend a couple hours every morning trying to help the users remap their drives. We have more than 160 logon scripts, and it seems that one logon script maps a drive, and then another remaps the drive somewhere else. To ...

Scripting Guy!VBScriptstorage
Jul 29, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Compare Files With the Same Name But Two Different Extensions?

ScriptingGuy1

Hey, Scripting Guy! After doing several restores we have folders with files named name.doc AND name.do (without "C"). How can we identify such pairs of files and do something to them based on a comparison?-- TN Hi TN, Scripts like the one we’ll develop in this article are the best tools I know of for dealing with this sort of problem. Dealing w...

Scripting Guy!VBScriptstorage
Jul 16, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Read the MAC Address From a Text File?

ScriptingGuy1

Hey, Scripting Guy! I've been asked to create a script which will read the contents of addresses.txt and output ONLY the MAC addresses listed in the text file. Could you give me some pointers or even a demo script with which to give me a boost?-- FR Hi FR, The last time someone asked the person writing this column for a boost, the result was low...

Scripting Guy!scripting techniquesVBScript