Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encloses multiple job definitions in a Windows Script (.wsf) file.
Syntax
<package>
code for one or more jobs</package>
Remarks
The <package> element is optional when a .wsf file contains only one job.
The following example incorporates two jobs into one .wsf file that uses 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>
See Also
<runtime> Element (Windows Script Host)
<named> Element
<description> Element (Windows Script Host)
<example> Element
<object> Element (Windows Script Host)