Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


WScript.Echo problem?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,125
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> WScript.Echo problem?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 WScript.Echo problem? - 6/6/2001 7:23:15 AM   
  cruiser

 

Posts: 25
Score: 0
Joined: 6/4/2001
From: USA
Status: offline
Hi everybody!

When I use : someVar = WScript.createObject("WScript.Shell")
it's OK,
but when I use: WScript.Echo , I get error saying that WScript is
undefined!
Do I have to create it using createObject statment?

Thanks!
 
 
Post #: 1
 
 Re: WScript.Echo problem? - 6/6/2001 7:24:43 AM   
  dropme

 

Posts: 18
Score: 0
Joined: 5/23/2001
From: USA
Status: offline
You should not have to do any tricks with WSH, just

WScript.Echo "something"

Try again - or maybe post a copy of the whole code...
Maybe you have some ancient version of WSH ??

Good luck..

(in reply to cruiser)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> WScript.Echo problem? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts