Current time: 02-05-2012, 05:33 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forcing a Specific Scripting Engine
08-01-2009, 01:26 PM
Post: #1
Forcing a Specific Scripting Engine

I get a lot of questions asking for a simple way to force a script to run in either cscript.exe or wscript.exe–and there are several reasons why you might want to force the use of one engine over another. Cscript.exe is a good choice whenever you want to have a console output or mask passwords. It’s also the only scripting engine that allows you to work with standard input and output streams. Wscript.exe is a good choice whenever you want a script to run silently or without a window. In either case, you can write your code so that it forces the use of one or the other. (more…)





Posted on Wed, 01 Oct 2008 18:02:37 +0000 at http://www.nilpo.com/2008/10/windows-xp/...ng-engine/
Comments: http://www.nilpo.com/2008/10/windows-xp/.../#comments
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Error “There is no script engine for file extension” Nilpo 0 3,071 08-01-2009 01:26 PM
Last Post: Nilpo
  2008 Microsoft Scripting Games Nilpo 0 385 08-01-2009 01:26 PM
Last Post: Nilpo

Forum Jump:


Forum Permissions
You cannot post new threads.
You cannot post replies.
You cannot post attachments.
HTML is turned on.
MyCode is turned on.
Smilies are turned off.
[img] is turned on.