Saturday, May 31, 2008

Vbscript behavior


Wscript Method wscript x.vbs



Cscript Method cscript x.vbs


Do you have right click tools that run in a command (DOS) box. And you have an "Enter" key function so it will stay open so you can see the data.

There are 2 things you can do.
1. Run with a wscript xxx.vbs
This will force it to use the wscript method and data will be placed in a nice popup box
2. Set the default method for vbscript to wscript
wscript /H:WScript
A popup will tell you that the default is now wscript do the same with a cscript to change it back


This will make some of the right click tools that display information alot easier to read and gives it a more professional look.