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

PWD

Name:
    PWD
Type:
    Support Command
Purpose:
    This command returns the current working directory.
Description:
    There are times when it is convenient to be able to retrieve the current working directory. The PWD command will print the current working directory. In addition, it will save the returned directory name in the string CURDIR. This string can be used to label plots.
Syntax:
    PWD
Examples:
    PWD
Default:
    None
Synonyms:
    GETCWD
    CURRENT DIRECTORY
Note:
    If the name CURDIR has already been defined for a non-string (i.e., a parameter or a variable name), then the CURDIR string will not be created.
Note:
    The returned working directory name will be truncated at 255 characters (both in the printed feedback and for the CURDIR string).
Note:
    The PWD command is implemented using the library function GETCWD. This is not part of the Fortran standard, so the PWD command may not be supported on all platforms. It should be available on Unix/Linux systems. It is also supported on Windows implementations built with the Intel compiler.
Related Commands:
    CD = Change the current working directory.
    SYSTEM = Enter an operating system command within a Dataplot session.
Applications:
    Interactive Usage
Implementation Date:
    2011/1
Program:
    PWD
    PRINT CURDIR

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 01/13/2011
Last updated: 10/13/2015

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