SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages

Dataplot Vol 1 Vol 2


CD

Name:
    CD
Type:
    Support Command
Purpose:
    This command changes the current working directory.
Description:
    It is often convenient to able to modify the current working directory (e.g., to shorten file names that need to be entered). Using the SYSTEM command does not typically work since the directory change does not persist after the SYSTEM command is entered. The CD command allows you to change the working directory in a way that persists.

    This is a system dependent command. It is currently supported for Unix and Windows 95/98/NT.

Syntax:
    CD <path name>
    where <path name> is the directory name.
Examples:
    CD /home/heckert/datafiles
    READ SAMPLE.DAT
Default:
    On most implementations, the default working directory is the current directory when the Dataplot session was iniiated. If you execute Dataplot from a shortcut on Windows 95/98/NT, the default working directory can be set under the Properties menu by changing the "Start In" directory.
Synonyms:
    None
Note:
    Dataplot does no checking to ensure that a valid path name was specified. The working directory is simply passed as entered.
Note:
    File names are case sensitive on Unix file systems. For this reason, case is preserved in passing the path name to the CD command.
Related Commands:
    SYSTEM = Enter an operating system command within a Dataplot session.
    PWD = Retrieve the current working directory.
Applications:
    Interactive Usage
Implementation Date:
    1997/9
Program:
    CD /usr/local/lib/dataplot/data
    READ BERGER1.DAT Y X
    FIT Y X

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 06/05/2001
Last updated: 12/15/2013

Please email comments on this WWW page to alan.heckert@nist.gov.