Categories:
Android (1)
Audio (7)
C/C++ (2)
Compression (7)
Database (6)
Document (14)
Email (3)
General (50)
Graphics (17)
Image (8)
Java (1)
Picture (1)
Presentation (7)
Programming (17)
Spreadsheet (11)
Video (8)
Web (13)
Windows (63)
XML (4)
Other Resources:
.WSF - File Extension for Windows Script Files
What is WSF? WSF, short name for Windows Script File, is used as the file extension for Windows Script files. .WSF files are XML files that can be opened by XML editors. See the sample .WSF file included below.
✍: FYIcenter.com
File Extension: .WSF
MIME Type: text/xml
File Content: Windows Script
.WSF files are Windows Script files which contains source code of scripting languages supported on Windows system in XML format. When executed, .WSF files will be processed and interpreted by Windows Script Host on Windows systems. Here is a sample .WSF Windows Script file, notepad.wsf, that automatically performs a Notepad editing session in Perl script:
<?xml version="1.0" ?>
<package>
<job Id="WshShell">
<script language="PerlScript">
<![CDATA[
$WshShell = $WScript->CreateObject("WScript.Shell");
$WshShell->Run("notepad", 5);
$WshShell->AppActivate("Untitled - Notepad");
my $message = "Hello from PerlScript!\n";
for($i=0; $i < length($message); $i++) {
$char = substr($message, $i, 1);
$WScript->Sleep(100);
$WshShell->SendKeys($char);
}
]]>
</script>
</job>
</package>
.WSF Windows Script file sample: Click sample.wsf to download.
Since .WSF text files are in text format, you can use any XML editor to create or modify them. No special software is needed.
For for information on how to use .WSF Windows Script files, see links below:
2012-07-10, 12413👍, 0💬
Popular Posts:
What is TIF or TIFF? TIFF, short name for Tagged Image File Format, is used as the file extension fo...
File extension DAT is used for multimedia files stored on VCD disks. A DAT sample file is provided. ...
What is XPS or OXPS? XPS stands for for XML Paper Specification. OXPS stands for for Open XML Paper ...
What is WMF or EMF? WMF stands for Windows Metafile. EMF stands for Enhanced Windows Metafile WMF or...
What is DOTX? DOTX, short name for Document Template XML, is used as the file extension for files in...