Solved

Include in vbscript

Posted on 2007-03-19
1
1,039 Views
Last Modified: 2011-09-20
Is there a way to do an include in a vbscript, similar to an include in ASP, e.g., "<!--#INCLUDE FILE='MyFile.asp'-->"?
0
Comment
Question by:arichexe
1 Comment
 
LVL 11

Accepted Solution

by:
cup earned 50 total points
ID: 18754275
Yes bit it is a sort of fiddle.  You basically read in the file and globalexec it.  Lots of similar examples on the net.  Have a look at

http://www.source-code.biz/snippets/vbscript/5.htm
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
I met Paul Devereux (@pdevereux) today when I responded to his tweet asking “Anybody know how to automate adding files from disk to a folder in #outlook  ?”.  I replied back and told Paul that using automation, in this case scripting, to add files t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question