Top Navigational Bar

Creating A DOS File Using The < And > Charact
DocumentID: 603981
Revision Date: 29-Feb-96 1:30:28 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: DOS uses the > (greater-than) and < (less-than) characters as pipes (|). For example, to save the DOS path to a batch file so it can be recalled easily, enter the following at a DOS prompt:

      PATH > PATH1.BAT

A file named PATH1.BAT will be created.

Think of the < and > characters as arrows pointing to where the results of a request should go. Entering PATH > PATH1.BAT will take the information requested by the PATH command, and place it in a file called PATH1.BAT.

If the > character is used without specifying a filename to store the information, a file creation error will occur. This happens because the system will try to create a file with no name, which cannot be done.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.