
Can I include other file into WSH file?
Not directly, but there are a couple of workarounds. You can use the filesystemobject to read the contents of a script into a variable then use the execute command if you have the latest version of WSH installed.
OR
You could get the moniker scripting host from my site. The Moniker scripting host is a control that allows you to run a script of any language supported by WSH from within a script. Its in the downloads section.
Clarence
Check it out..
http://www.*-*-*.com/
On this site you will find resources for all of your scripting needs. Everything you need to get up and running. Over 100 Sample Scripts, ActiveX controls, reference materials, and technical support via an online discussion lounge.
[ Win32Scripting... automate!! ]
Just like C's sorce file, '#include ****.c"
Can I include other files into WSH/VBS file?
If anybody tried, please let me know. Thanks.
--
----------------------------------
(Osamu Terao)
URL: http://www.*-*-*.com/ ~terasyu/
-----------------------------------