Previous Page | Next Page

SAS System Options under Windows

SASINITIALFOLDER System Option: Windows



Changes the working folder and the default folders for the Open and Save As dialog boxes to the specified folder after SAS initialization is complete.
Default: none
Valid in: configuration file, SAS invocation
Category: Environment control: Files
PROC OPTIONS GROUP= ENVFILES
Windows specifics: all

Syntax
Details

Syntax

-SASINITIALFOLDER newfolder

newfolder

specifies the path to the current working folder and the default folders for the Open and Save As dialog boxes. If newfolder contains spaces, it must be enclosed in quotation marks.


Details

SAS determines the locations for AUTOEXEC or INITSTMT files before the SASINITIALFOLDER system option is processed. To ensure that SAS can determine the location of these files, place them in a folder other than the folder that is specified by the SASINITIALFOLDER system option.

If you do not specify the SASINITIALFOLDER system option, SAS determines the current folder by default. SAS uses the Sasuser folder as the default folder for the Open and Save As dialog boxes.

The current working folder is set according to information in Determining the Current Folder When SAS Starts.

Previous Page | Next Page | Top of Page