Showing tag results for scripting techniques

Nov 11, 2005
Post comments count0
Post likes count0

How Can I Get the Command Window to Stay Open After Running a Command-Line Tool?

ScriptingGuy1

Hey, Scripting Guy! How can I get the command window to stay open after running a tool like Ping or Ipconfig?-- DB Hey, DB. Now this question takes us back. Back when one of the Scripting Guys first started here at Microsoft many people thought WMI and ADSI were way too hard for script writers to use. As a result, this Scripting Guy was discoura...

Scripting Guy!scripting techniquesVBScript
Nov 10, 2005
Post comments count0
Post likes count0

How Can I Receive Notification Any Time Something is Printed to a Particular Printer?

ScriptingGuy1

Hey, Scripting Guy! How can I receive notification any time something is printed to a particular printer?-- IL Hey, IL. You know, one of the Scripting Guys once had a summer job in an organization where the only decent printer in the entire building was kept in the administrative assistant’s office. We can attest, from painful experience, that i...

Scripting Guy!scripting techniquesVBScript
Nov 9, 2005
Post comments count0
Post likes count0

How Can I Clear an HTA Window?

ScriptingGuy1

Hey, Scripting Guy! How can I clear an HTA window?-- DF Hey, DF. Well, to tell you the truth, if you’d ever seen at least one of the Scripting Houses you wouldn’t be asking us if we knew how to clear a window; it’s pretty obviously some of us don’t. (In our defense, though, if we keep the window clean then birds have a terrible habit of flying h...

Scripting Guy!scripting techniquesVBScript
Nov 3, 2005
Post comments count0
Post likes count0

How Can I Determine the ADsPath for the Logged-On User?

ScriptingGuy1

Hey, Scripting Guy! In my HTA, how can I determine the ADsPath for the logged-on user?-- AC Hey, AC. You know, when you work at Microsoft people automatically assume that you spend your days in an ivory tower, totally removed from the day-to-day activities and needs of system administrators. To be honest, that isn’t true: our tower is really mor...

Scripting Guy!scripting techniquesVBScript
Oct 31, 2005
Post comments count0
Post likes count0

How Can I Start an Application From an HTA?

ScriptingGuy1

Hey, Scripting Guy! Is there an alternative to the Wscript.Shell command for HTAs? I need to run an application and specify the file to open.-- DL Hey, DL. Yes, we do know of an alternative to the Wscript.Shell command that will work in HTAs, and we’ll show you that in a minute. Before we do that, however, we should note that you actually can us...

Scripting Guy!scripting techniquesVBScript