Showing tag results for running

Jun 13, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Run a Command-Line Tool Multiple Times and Save the Output to a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’m trying to write a script that will run Fsutil.exe against all the drives on a computer. That’s pretty easy. However, I’d like to have all the output written to a text file rather than displayed on screen; that’s the part that I haven’t had much luck with. Any help here would be greatly appreciated.-- RS Hey, RS. Well, the...

Scripting Guy!scripting techniquesVBScript
Jun 11, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Get a Script to Pick Up Where It Left Off After a Reboot?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I would like to write a script, with a number of sequential actions, that can continue where it left off after a reboot. How can I do that?-- GS Hey, GS. By the way, what are you doing at 10:00 AM Eastern Daylight Time today? Nothing? Great; then we’ll see you at the Orange County Convention Center for our 10:00 instructor-le...

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

Hey, Scripting Guy! How Can I Pass Command-Line Arguments to a Batch File Started From a Script?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I am trying to write a script that requests multiple pieces of information from a user; I then want to call a batch file, using each piece of information as a separate command-line argument. Unfortunately, though, I can’t get this to work correctly. Can you help?-- BP Hey, BP. You know, at first we was not going to help, but ...

Scripting Guy!scripting techniquesVBScript
Dec 6, 2007
Post comments count0
Post likes count0

How Can I Start a Script in a Hidden Window?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I start a script in a hidden window?-- OT Hey, OT. You know, today is kind of a disappointing day for the Scripting Guys, or at least for the Scripting Guy who writes this column. As we noted yesterday, the Seattle area was hit by a freak “Pineapple Express” rainstorm that seemed destined to set all sorts of records f...

Scripting Guy!scripting techniquesVBScript
Oct 30, 2007
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Start a Remote Process Under CScript If the Script Path Contains Blank Spaces?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’m trying to create a process that runs a script under the CScript script host. However, I keep running into problems because there are spaces in the script path name. How can I use WMI’s Win32_Process class to run a script under CScript when there are spaces in the script path name?-- TA Hey, TA. ZDjhdvS ASBF VX Oh. Sorry; ...

Scripting Guy!scripting techniquesVBScript