Discussion Locked

VB Scripts

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am not able to run your VB Script called
NetInventory.vbs as it is looking for a file called WshShell.Run which is not on my System using Windows 98SE.

4 replies

by beermonster

Hi,
not sure who you were addressing this to, but I'll comment anyway. VB scripts are actually executed by the windows scripting host, which for a 98 box is an add on component available at

http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001169

(remove any spaces from that URL. I believe it will also be installed if you upgrade your version of IE to 5.x or later. The wshshell.run that you refer to is actually an instance of the scripting host object - wshshell - and a method of that object - run - which shells out of the script to run another program. In other words, it's not a file. Hope this helps a little.....

This discussion is closed to new replies.