Showing tag results for VBScript

Apr 25, 2006
Post comments count0
Post likes count0

How Can I Determine the Name of the Local Computer Using WMI?

ScriptingGuy1

Hey, Scripting Guy! How can I determine the name of the local computer using WMI?-- BM Hey, BM. As you noted in your email we Scripting Guys always tell people that, in WMI, you can simply use a dot (.) to refer to the local computer. For example, the following mini-script connects you to the WMI service on the local computer:strComputer = "." ...

Scripting Guy!scripting techniquesVBScript
Apr 24, 2006
Post comments count0
Post likes count0

How Can I Select a Column of Data in Excel and Then Paste that Data into a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I select a column of data in Excel and then paste that data into a text file?-- GT Hey, RR. You know, if you’re like most people, any time you hear the words “Scripting Guys” you undoubtedly think of two things: elegance and sophistication. Despite our well-deserved reputation, however, the Scripting Guys are - at hea...

Scripting Guy!scripting techniquesVBScript
Apr 21, 2006
Post comments count0
Post likes count0

How Can I Reformat Numbers Using a Script?

ScriptingGuy1

Hey, Scripting Guy! I have a text file containing latitudes and longitudes. The numbers look like this: 36000000. I need to format these numbers so they look like this: 36.000000. How can I reformat numbers using a script?-- BE Hey, BE. You know, if you have a question about numbers then you came to the right place. After all, one of the Scripti...

Scripting Guy!scripting techniquesVBScript
Apr 20, 2006
Post comments count0
Post likes count0

How Can I Tell Which of Our Windows Server 2003 Computers are Running R2?

ScriptingGuy1

Hey, Scripting Guy! We have a bunch of Windows Server 2003 computers in our organization. Some of these computers are running Windows Server 2003 R2 and some are not. How can I tell which of our Windows Server 2003 computers are running R2?-- TX Hey, TX. You know, that’s a question that people have been trying to answer for hundreds and hundreds...

Scripting Guy!VBScriptoperating system
Apr 19, 2006
Post comments count0
Post likes count0

How Can I Open a Text File as Unicode?

ScriptingGuy1

Hey, Scripting Guy! I have some text files that include Unicode characters. When I try to open those files using a script all I get back is gibberish. How can I open a text file as Unicode?-- FA Hey, FA. You know, the truly great magicians don’t concoct elaborate tricks that rely on trap doors, secret panels, and huge puffs of smoke to hide what...

Scripting Guy!scripting techniquesVBScript