Previous Page | Next Page

The DOCUMENT Procedure

DIR Statement


Sets or displays the current file location.
Featured in: Navigating the File Location and Listing the Entries, Opening and Listing ODS Documents, and Managing Entries

DIR <path>;


Without Options

If no options are specified, then the DIR statement displays the current path.


Options

path

sets the current file location. For example, the following DIR statement sets the current directory to '\report\glm' within the current document:

dir \report\glm; 
run; 
Tip: You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path.

Previous Page | Next Page | Top of Page