Microsoft® Windows® Script Host
<job> Element
WSH Reference
Version 2


Description
Allows multiple jobs to be defined in a single file. Because this is an enclosing tag, every tag within the Job tag will apply to that job.
Syntax
<job [id=JobID]>
    job code
</job>
Parameters
Part Description
JobID Optional. The unique (to the file) identifier of the job.
Example
The following example incorporates two jobs into one .wsf file using two different scripting languages:
<package>

<job id="DoneInVBS">
<?job debug="true"?>
<script language="VBScript">
	WScript.Echo "This is VBScript"
</script>
</job>

<job id="DoneInJS">
<?job debug="true"?>
<script language="JScript">
	WScript.Echo("This is JScript"); 
</script>
</job>

</package>