Top Navigational Bar

CD (CHDIR) Command
DocumentID: 643065
Revision Date: 29-Feb-96 8:18:49 PM

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

Problem

Solutions: The command CD (or CHDIR) is used to change the default directory on any given drive. DOS remembers the directory you are in on every available drive, whether floppy drive, hard drive, or network drive.

CD                  Tells you where you are on the current drive. It will return C:\ if you are on the C: drive and are in the root directory.

CD F:            Tells you the current directory on the F: drive.

            CD \WP50            Makes \WP50 (on the current drive) your default directory for this drive and takes you to that directory.

            CD FILES            Makes FILES (a subdirectory under your current default directory) the new default directory and takes you there.

            CD F:\WORK      Changes the default directory on the F drive to \WORK. If you are currently on the F drive, it will take you there as well. If you are not on the F drive, your prompt will not change, but the default F: directory will change. When you make F: your default drive by pressing F: and then Enter, you will be in the directory you changed to. This is not unlike using the remote control on your television to change the channel while you are watching a video. The channel will be changed, but you won't notice the change until you stop the video.

            CD F:JIMBO      Changes the default directory on F: to the subdirectory under the current default directory. If the current directory on F: is \PUBLIC, it will change to F:\PUBLIC\JIMBO, which will be your current directory when you move to F:.

For more information on CD (CHDIR), see the following memos in the DOS infobase: 888_DOS, 3243_DOS, and 1098_WP50.

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.