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

MKDIR

Name:
    MKDIR
Type:
    Support Command
Purpose:
    This command creates a new directory.
Description:
    This command uses an operating system command to create a new directory.

    For Unix/Linux/MacOS systems, the MKDIR command issues a

      mkdir ....

    command to the operating system.

    For Windows systems, the MKDIR command issues an

      MKDIR ....

    command to the operating system.

    The string that follows the MKDIR on the command line is passed to the operating system as is. Dataplot does no error checking of this string.

    This is a system dependent command. It is currently supported for Unix/Linux/MacOS and Windows platforms.

Syntax:
    MKDIR <file-list>
    where <file-list> is a string containing a list of one or more directories to create.
Examples:
    MKDIR macros
    MKDIR tmp
    MKDIR macros tmp
Note:
    The MKDIR capability can be implemented by direct use of the SYSTEM command. For example, under Linux do something like

      system mkdir macros

    The motivation for adding this as a separate command is to allow the capability to be implemented in an operating system independent way. This can be useful when writing general purpose macros that may be used on different operating systems.

Default:
    None
Synonyms:
    None
Note:
    Dataplot does no checking to ensure that a valid directory name was specified. The entered string is passed to the operating system as entered.
Note:
    File names are case sensitive on Unix/Linux/MacOS file systems. For this reason, case is preserved in passing the directory name to the operating system.
Related Commands:
    SYSTEM = Enter an operating system command within a Dataplot session.
    CD = Change the current working directory.
    PWD = Retrieve the current working directory.
    RM = Delete one or more files.
    DIR = List the contents of a directory.
    CAT = List the contents of a file.
Applications:
    Interactive Usage
Implementation Date:
    2019/09
Program:
     
    SKIP 25
    READ BERGER1.DAT Y X
    .
    MKDIR PLOT_FILES
    SET POSTSCRIPT CONVERT PDF
    SET IPL1NA PLOT_FILES/PLOT.PS
    .
    CHARACTER X
    LINE BLANK
    PLOT Y X
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 09/13/2019
Last updated: 09/13/2019

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