FileInfo

Languages

Overview

What is a WS file? A WS file contains an executable script that can be run via the Windows Script Host. The script may be comprised of various types of routines and elements, including JScript and VBScript routines and XML elements. When you double-click a WS file, the Windows Script Host will automatically run the script the file contains.

More Information WS file open in Microsoft Visual Studio Code The Windows Script Host is a tool that system administrators can use to automate a variety of login and administrative actions. To do so, administrators create and run Windows Scripts, which may be saved as WS files. WS files are plain text files. Notably, WS files can include routines written using JScript, VBScript, BASIC, Perl, Python, and many other programming languages. To create WS files, administrators use Microsoft Notepad, Microsoft Visual Studio Code, or another text editor. NOTE: Windows Scripts are more commonly saved as .WSF files.

Popularity3.8/5

29 votes

Quick AppOpen with
VerifiedVerified by FileInfo.com The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified. If you would like to suggest any additions or updates to this page, please let us know .

Document Icon

Breadcrumbs

DeveloperEdwin Brady and Chris Morris
Popularity3.0 | 2 Votes

Previous / Next

In-Depth

.WS File Extension

4 file types use the .ws file extension.

Windows Script

DeveloperMicrosoft
Popularity
3.8  |  29 Votes
 

What is a WS file?

A WS file contains an executable script that can be run via the Windows Script Host. The script may be comprised of various types of routines and elements, including JScript and VBScript routines and XML elements. When you double-click a WS file, the Windows Script Host will automatically run the script the file contains.

More Information

WS file open in Microsoft Visual Studio Code

The Windows Script Host is a tool that system administrators can use to automate a variety of login and administrative actions. To do so, administrators create and run Windows Scripts, which may be saved as WS files.

WS files are plain text files. Notably, WS files can include routines written using JScript, VBScript, BASIC, Perl, Python, and many other programming languages. To create WS files, administrators use Microsoft Notepad, Microsoft Visual Studio Code, or another text editor.

NOTE: Windows Scripts are more commonly saved as .WSF files.

How to open a WS file

If you want to view or edit a WS file's contents, you can open it with Microsoft Notepad , Microsoft Visual Studio Code , or any other text editor.

In Windows, you can run the script a WS file contains by double-clicking the file or using the wscript command-line command (as described here .)

Warning

Do not double-click a WS file that you receive as an email attachment or from an untrusted source. Because Windows automatically runs WS files when users double-click them, cybercriminals sometimes use WS files to attack users' computers.

Open over 400 file formats with File Viewer Plus . Free Download

Programs that open WS files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Microsoft Windows Script Host

Included with OS

Microsoft Notepad

Included with OS

Microsoft Visual Studio Code

Free

Any text editor

Mac

Apple TextEdit

Included with OS

Microsoft Visual Studio Code

Free

Any text editor

Linux

Vim

Free

Microsoft Visual Studio Code

Free

Any text editor

Category: Executable Files

Updated: October 18, 2023

WonderSwan Game ROM

DeveloperN/A
Popularity
3.0  |  5 Votes
 

A WS file may also be a game ROM file used by WonderSwan emulators , such as Oswan, OpenEmu, and Higan. It contains an exact copy of the game data dumped from the original WonderSwan game cartridge.

More Information

WonderSwan emulators allow users to play WonderSwan games on a computer as if they were run on the original system. Game data from the original WonderSwan game cartridge is dumped into a WS file, which stores the game data in a format that can be played by a WonderSwan emulator.

WonderSwan is a Japanese handheld video game console created by Bandai. It was released in 1999 as a competitor to Nintendo's Game Boy Color. It was discontinued in 2003. WonderSwan game titles include Buffers Evolution, Beatmania, Final Lap 2000, Gunpey, Harobots, and Puzzle Bobble.

Programs that open WS files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Oswan

Free

Mednafen

Free

Higan

Free

Mac

OpenEmu

Free

Oswan

Free

Category: Game Files

Updated: February 7, 2019

1-2-3 Word Search Maker Puzzle File

DeveloperVariety Games
Popularity
3.5  |  2 Votes
 

File created by 1-2-3 Word Search Maker, a program used for making word search puzzles; stores a word list as well as the alphabetical grid containing the words to find; also stores the solution by highlighting the word list in the puzzle.

More Information

When you have completed designing a word puzzle, you can print it with a standard printer.

NOTE: WS files are saved in a simple text format and can be viewed with any text editor to browse the contents.

Programs that open WS files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Variety Games 1-2-3 Word Search Maker

Free Trial

Category: Data Files

Updated: July 3, 2012

Whitespace Source Code

DeveloperEdwin Brady and Chris Morris
Popularity
3.0  |  2 Votes
 

A WS file may also be a program written in the Whitespace programming language . It contains Whitespace source code , which consists of spaces, tabs, and linefeeds (whitespace characters). WS files also often contain comments written using letters, numbers, and other non-whitespace characters.

More Information

WS file open in Microsoft Visual Studio Code

Whitespace is a programming language developed by Edwin Brady and Chris Morris. The Whitespace interpreter ignores any non-whitespace characters, so Whitespace programs are written using only spaces, tabs, and linefeeds, which the interpreter reads as either commands or data. Commands are written using preset sequences of spaces, tabs, and linefeeds. Other data is written in binary, using spaces as 0s and tabs as 1s.

While Whitespace is not used for serious development, some developers enjoy developing within the language's limitations and creating fun Whitespace programs. These developers may save their Whitespace programs as WS files.

How to open a WS file

You can open and edit a WS file in any text or source code editor, such as Microsoft Visual Studio Code . Keep in mind that, because Whitespace programs are written using only whitespace characters, your WS file may appear empty. You can run the program a WS file contains using a Whitespace interpreter.

Programs that open WS files

Sort

Pricing

Program Name

Platform

Reset

X

Windows

Microsoft Visual Studio Code

Free

Any text editor

Whitespace

Free

Mac

Microsoft Visual Studio Code

Free

Any text editor

Whitespace

Free

Linux

Microsoft Visual Studio Code

Free

Any text editor

Whitespace

Free

Category: Developer Files

Updated: April 12, 2022

FAQ

What is a WS file?
A WS file contains an executable script that can be run via the Windows Script Host. The script may be comprised of various types of routines and elements, including JScript and VBScript routines and XML elements. When you double-click a WS file, the Windows Script Host will automatically run the script the file contains.
How do I open a .ws file?
If you want to view or edit a WS file's contents, you can open it with Microsoft Notepad, Microsoft Visual Studio Code, or any other text editor.