Showing tag results for Scripting Guy!

Mar 18, 2005
Post comments count0
Post likes count0

How Can I Create an Environment Variable Using a Script?

ScriptingGuy1

Hey, Scripting Guy! Can I create an environment variable using a script?-- OD Hey, OD. WMI is a great technology for scripting, but it has its eccentricities. For example, can you create a process using a script? Of course you can; after all, WMI’s Win32_Process class has a Create method. Can you create a service using a script? Of course you ca...

Scripting Guy!scripting techniquesVBScript
Mar 17, 2005
Post comments count0
Post likes count0

How Can I Move Files Based on Their File Extension?

ScriptingGuy1

Hey, Scripting Guy! I have a folder with a bunch of files in it. I need to move all those files; the only problem is that the files need to be moved to different folders depending on their file extensions. For example, I want all the .log files to go here, all the .bak files to go there, etc. How can I do that using a script?-- SH Hey, SH. There...

Scripting Guy!VBScriptstorage
Mar 16, 2005
Post comments count0
Post likes count0

How Can I Display A Progress Bar (or Something Similar) While My Script Runs?

ScriptingGuy1

Hey, Scripting Guy! How can I get my script to do something interesting while the code executes; you know, how can I display a progress bar or something?-- HD Hey, HD. To begin with, we don’t recommend that you try to use a true progress bar; that’s because it’s very difficult to calculate - let alone display - progress. We’re all familiar with ...

Scripting Guy!scripting techniquesVBScript
Mar 15, 2005
Post comments count0
Post likes count0

How Can I Determine Which USB Devices are Connected to a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I determine which USB devices are connected to a computer?-- WM Hey, WM. If you watch a lot of TV - um, not that the Scripting Guys do; we spend our spare time reading the works of Shakespeare, solving differential equations, and otherwise tending to our many intellectual pursuits. As we’ve been told, however, any tim...

Scripting Guy!VBScripthardware
Mar 14, 2005
Post comments count0
Post likes count0

How Can I Automatically Dismiss a Message Box After a Specified Length of Time?

ScriptingGuy1

Hey, Scripting Guy! I’d like to display a Yes/No message box for a few seconds and then, if no one clicks a button, have the message box disappear and the script perform the default operation. How do I do that?-- JR Hey, JR. Sounds like you need the WSH Shell object and the Popup method. Popup works a lot like the VBScript Msgbox function: like ...

Scripting Guy!scripting techniquesVBScript