VIEW Command Line Options

 

Command line options may be entered on the VIEW command line.

 

For example,

 

         VIEW FileName [options]

 

The following options are valid:

/A

View the file in ASCII mode. This is the default mode and will only need to be specified in order to override an existing EBCDIC mode.

 

/B

View the file in EBCDIC mode.

/E

V will start viewing the file from the end instead of the beginning.

/FLAT

Enables Flat Text Mode

/GB

Enables Greenbar Mode

/H

This will force the file to be viewed in Hex mode.

/I

A new instance of V will be started (multiple calls to VIEW are usually handled by a single instance of V)

/ICRCR

Enables the Ignore Consecutive CRs option

/IFF

Enables the Ignore Form Feed option

/L

V will display the last file that it viewed. This will be the first file in the Recent Files list.

/L:nn

V will start displaying the file from line number nn

/LEN:nn

Sets the wrap length to nn

/O:xxxx

V will start displaying the file from offset xxxx

/P

Indicates that the specified file(s) are to be printed. Click here for further printing options.

/R

When started with no parameters, V will browse the current directory. By specifying the /R option, V will display the directory that it last browsed. Note that this option is automatically added to all shortcuts that V creates for itself.

/T

Enable File Tailing

/TEXT

This forces a file to be opened in text mode (opposite of /H)

/VFONT

See Font Options

/VH

The file will be viewed in Vertical Hex Mode

/OEM

V will display the file using the DOS/OEM character set (if available).

/OEMP

V will use the DOS/OEM character set when printing.

/ANSI

V will use the default character set.

 

 

Further command line options are explained in the following sections:

 
/Delete Option
/S Option
/Fix Option
Font Options
Printing Options
Text Only Printing Options
EBCDIC Options

 

Notes

 

The options may also appear before the file name(s)

 

The options are not case sensitive.

 

You can use an equals (=) instead of a colon (:). For example, /L=20 instead of /L:20