Your simplest solution is to use the newer .wsf file format...
<job>
<script language="VBScript" src="myCommonStuff.vbs" />
<script language="vbscript">
'
' code that was in the .vbs file...
'
</script>
</job>
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> Does anyone know how to have a .vbs file load a include file ?
> I want to load some constant variables, like server name etc...
> Thanks in advance,Peter