Filename extension | .wsf |
---|---|
Internet media type | text/xml |
Developed by | Microsoft |
Type of format | Scripting |
Container for | Scripts |
A Windows Script File (WSF) is a file type used by the Microsoft Windows Script Host. It allows mixing the scripting languages JScript and VBScript within a single file, or other scripting languages such as Perl, Object REXX, Python, or Kixtart if installed by the user. These types of scripts may also be used to link many other external scripts together using a src
parameter on the <script>
tag in a manner similar to HTML. Windows Script Files have the extension ".WSF"
. A WSF makes reference to each script module in a very basic XML hierarchy as shown below, adhering to those standards outside the <script>
tags. Literal use of "</script>
" or "<script>
" inside your <script>
tags and similar challenges can be handled by the use of CDATA, as shown within the examples.