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

HOME PATH

Name:
    HOME PATH (SET)
Type:
    Set Subcommand
Purpose:
    Specify whether the user's home directory will be included in the Dataplot search path for file names.
Description:
    When Dataplot encounters a file name (on the LIST, READ, WRITE, or CALL commands), it will do the following:

    1. It will first look for the file in the current directory (you can enter the PWD command if you are not sure what that is).

    2. If it does not find the file, it will look for the file in the Dataplot auxiliary directory. By default, this will be "C:\Program Files (x86)\NIST\DATAPLOT" under Windows systems and "/usr/local/lib/dataplot" under Unix/Linux/Mac OS X systems. However, this may be different on your platform.

      Dataplot first searches this directory and then the following sub-directories "help", "data", "dex", "macros", "programs", "text", "menu", "ps", and "tex" are searched (in the order given).

    This command can be used to specify that your home directory will also be searched for the file name. If so, it will be searched after the current directory but before the Dataplot auxiliary directories.

    Note that under Unix/Linux/Mac OS X systems, which are case sensitive, Datatplot will first try to open the file name as given. If the file is not found, then Dataplot will convert the file name to all upper case and try to open the file. If the file is not found, then Dataplot will convert the file name to all lower case and try to open the file. Note that this file name conversion is performed in each directory before moving to the next directory.

    To see what your home directory is, enter

Syntax:
    SET HOME PATH <ON/OFF>
    where ON specifies that the user's home directory will be searched and OFF specifies that it will not be searched.
Examples:
    SET HOME PATH ON
    SET HOME PATH OFF
Default:
    OFF
Synonyms:
    None
Related Commands:
    SET SEARCH DIRECTORY = Specify a directory to be added to Dataplot's search path.
    SET PATH = Define the location for Dataplot's auxiliary files.
    LIST = List the contents of a file.
    READ = Read data from a file.
    WRITE = Write data to a file.
    CALL = Execute commands stored in a file.
Applications:
    Interactive Usage
Implementation Date:
    2019/12
Program:
     
    . Assume "sample.dp" is in your home directory
    .
    SET HOME PATH ON
    CALL sample.dp
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 01/08/2020
Last updated: 01/08/2020

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