Re: Include a vbs file into another vbs file
- From: mr_unreliable <kindlyReplyToNewsgroup@xxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 11:58:45 -0500
Jake wrote:
What is the syntax for including a vbs file in this scenario?
Jake, if you are willing to compromise your requirements
a bit, and use a "wsf" file instead of a vbs file, then
you may include other scripts with a "one-liner".
For example:
--- <code> ---
<?XML version="1.0" standalone="yes" encoding="iso-8859-1" ?>
<job id="demoWSF">
<comment> This "includes" the cbt hookingini code... </comment>
<script language="VBScript" src="incOpenFileDlgDeclarations.vbs" ></script>
<script language="VBScript">
<![CDATA[
' ===================
' your script goes here...
' ===================
]]>
</script>
</job>
--- </code> ---
As usual, you can find the documentation for a "wsf" file
in the scripting documentation.
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but,
no guarantee the answers will be applicable to the questions)
.
- Follow-Ups:
- Re: Include a vbs file into another vbs file
- From: Al Dunbar
- Re: Include a vbs file into another vbs file
- References:
- Include a vbs file into another vbs file
- From: Jake
- Include a vbs file into another vbs file
- Prev by Date: Re: WMI update an item
- Next by Date: Re: Change modified date of msg file to email recieved date
- Previous by thread: Re: Include a vbs file into another vbs file
- Next by thread: Re: Include a vbs file into another vbs file
- Index(es):
Relevant Pages
|
Loading