Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


wscript.echo...wrong window

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,2437
 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...wrong window
  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...wrong window - 3/22/2005 9:29:09 PM   
  M.G.

 

Posts: 4
Score: 0
Joined: 3/22/2005
From:
Status: offline
hi all!

I used wscript.echo for output into the dos shell window. But if i copy my script to another server, very time a msgbox with the text appears.

I need the Dos output.

any suggestions?

thx
 
 
Post #: 1
 
 Re: wscript.echo...wrong window - 3/22/2005 11:27:22 PM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
run your script using cscript.exe. Wscript.Echo acts like msgbox when run using wscript.exe, which is the default.

(in reply to M.G.)
 
 
Post #: 2
 
 Re: wscript.echo...wrong window - 3/23/2005 4:05:39 AM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
Additionally, to make cscript your default, type: wscript //H:cscript

(in reply to M.G.)
 
 
Post #: 3
 
 Re: wscript.echo...wrong window - 3/28/2005 5:44:08 PM   
  M.G.

 

Posts: 4
Score: 0
Joined: 3/22/2005
From:
Status: offline
ah, thanks...i see the problem.

but its still dosnt functioned. How is the complete order? cscript.echo?! can read somewhere about this command?

thx again!

(in reply to M.G.)
 
 
Post #: 4
 
 Re: wscript.echo...wrong window - 3/28/2005 7:00:02 PM   
  M.G.

 

Posts: 4
Score: 0
Joined: 3/22/2005
From:
Status: offline
ah, got it...thx thx!

(in reply to M.G.)
 
 
Post #: 5
 
 Re: wscript.echo...wrong window - 3/29/2005 12:25:56 PM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
wscript.echo or msgbox =)

Glad you got it worked out. :)

(in reply to M.G.)
 
 
Post #: 6
 
 
 
  

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...wrong window 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