The following describes a method to let the SAS Display Manager start in a
(instead of the system directory) without having to define icons or shortcuts
for different folders.
When you run SAS in the Display Manager, the default folder for opening SAS
programs is usually 'c:\sas' (version 6.12),
if SAS has been installed on the c-drive.
"SAS here" is an extension to the menu that you see when you right-click on a
folder in the Windows Explorer in the 'folders' pane.
With this extension, you can right-click on a folder in the left 'folders' pane
of Explorer and the SAS Display Manager will start in that folder.
How to define it (I work on Windows NT 4, I suppose this works on Win95/98/2000
too, but I can not guarantee!):
1. open Explorer and choose from the menu Tools, Folder options...
2. chose the tab "File types"
3. go to the entry "File folder" in the list of "registered File types"
4. chose edit...
5. add a new action by pushing the "New..." button,
action: SAS here
Application used to perform action: c:\sas\sas.exe -config <your
config.sas> -nosplash "%1"
(This is for SAS v6.12, installed in the folder C:\SAS)
For version 8 choose:
action: SAS v8 here
Application used to perform action: (this is one line)
"C:\Program files\SAS Institute\SAS\V8\sas.exe" -config <your
config.sas> -sasinitialfolder "%1" -nosplash
### check if you have SAS installed in the same folder !!!
After you have done this, you can right-click on a folder in the left 'folders'
pane of Explorer, choose "SAS here" and the SAS Display Manager starts in that
You can also define a libname CURRENT to access the current folder:
libname current ".";
Hope this helps,
"Arthur Tabachneck" <firstname.lastname@example.org> wrote in message
> A lot of the SAS programs I run (SAS 8.2 in Windows NT) are basically the
> same, with the primary difference being that they are located in the
> directories where the data (that they use) is stored.
> If one uses SAS explorer to open a program, is there a way to let SAS know
> that the data you want it to use is in the same directory that the program
> came from?
> Thanks in advance,