Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


include in wsh?

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> include in wsh?
  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 >>
 include in wsh? - 3/6/2006 5:15:22 AM   
  brianfgonzalez

 

Posts: 29
Score: 0
Joined: 8/23/2004
From: USA
Status: offline
Is there an equivalent to HTML and PHP's include in WSH?.. I want to set a few variables in one WSH and then include those variables in a few different WSH scripts.  Any ideas?

Brian

_____________________________

Brian Gonzalez
Call Center Desktop Technician
brian.gonzalez@cc.partsearch.com
 
 
Post #: 1
 
 RE: include in wsh? - 3/6/2006 5:23:10 AM   
  ebgreen


Posts: 5070
Score: 31
Joined: 7/12/2005
Status: online
There are a couple of ways to do this. You can do it by using .WSC files or you can read the external file into memory the use the ExecuteGlobal command.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to brianfgonzalez)
 
 
Post #: 2
 
 RE: include in wsh? - 3/6/2006 5:24:49 AM   
  DiGiTAL.SkReAM


Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
quote:

ORIGINAL: brianfgonzalez

Is there an equivalent to HTML and PHP's include in WSH?.. I want to set a few variables in one WSH and then include those variables in a few different WSH scripts.  Any ideas?

Brian


http://www.visualbasicscript.com/m_29820/tm.htm

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to brianfgonzalez)
 
 
Post #: 3
 
 
 
  

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 >> include in wsh? 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