back contents index

Command line arguments

To start WSedit together with a text file from the commandline, simply type:

C:\> WSEDIT Textfilename

If you want to copy a file into the clipboard without executing the editor, type

C:\> WSEDIT /clip Filename.ws

Opening a text file with specific Codepages

WS (Wordstar) files are always in IBM (OEM/DOS) codepage. But the codepage of TXT files depends on the operating system. WSedit for OS/2 uses the IBM codepage and WSedit for Windows the Windows (Ansi) codepage. If you want to open a text file with the non-default codepage, you can use the /WIN and /IBM parameters:

C:\WINDOWS> WSEDIT /IBM Filename.txt

[C:\OS2] WSEDIT /WIN Filename.txt

WSedit for Windows has got access to both IBM and WIN codepage fonts. WSedit for OS/2 only knows the IBM codepage and the text will be converted while loading and saving the file.

This functionality is not available via menu commands.

Opening a file with an explicit file type

If you have got a file where WSedit cannot recognize the file type via file extension, you can explicitly enter the file type:

C:\> wsedit /.ws Filename.xxx

This functionality is not available via menu commands.

Principally, the order of the commandline parameters makes no difference.

forward contents index