| Working in the SAS Windowing Environment |
| What Is Your Working Directory? |
The working directory is the operating system directory where you invoke SAS. By default, SAS uses the current directory as the working directory when you begin your SAS session.
| Changing Your Working Directory |
You can change the current working directory during your SAS session. You can use the Change Working Directory dialog box to select a new directory, or you can use the X command, the X statement, the CALL SYSTEM routine, or the %SYSEXEC macro statement to issue the change directory (set default ) command.
To open this dialog box, complete one of the following steps:
The Change Working Directory Dialog Box
![[Change Working Directory Dialog Box]](images/changework.gif)
The Change Working Directory dialog box works exactly the same as the Open dialog box, except that you can select only a directory (not a file) from the list. For an explanation of the options in the Change Working Directory dialog box, see Description of the Open Dialog Box Options.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.