Using Script File Format In Windows XP
For WSH scripts, you can use VBScript in files with the .vbs extension and JScript in files with the .js extension. Windows Script Host adds another level of tags that provide more flexibility and power. In fact, WSH files, which use the .wsf extension, are actually Extensible Markup Language (XML) files that use tags, as shown in the following example (Hello.wsf):
<?XML version="1.0"?>
<package>
<job id="job1">
<?job debug="true"?>
<script language="VBScript" src="MyScript.vbs"/>
<script language="VBScript">
<![CDATA[
WScript.Echo "Hello World"
]]>
</script>
</job>
</package>


LinkBack URL
About LinkBacks
Reply With Quote

LinkBacks Enabled by vBSEO
Bookmarks