LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 9 Jul 2001 06:52:39 +0200
Reply-To:   Lex Jansen <l.jansen@LEX-JANSEN.DEMON.NL>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Lex Jansen <l.jansen@LEX-JANSEN.DEMON.NL>
Subject:   Re: Basic (I think) SAS question

Art,

The following describes a method to let the SAS Display Manager start in a specific folder, (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 folder. You can also define a libname CURRENT to access the current folder: libname current ".";

Hope this helps,

Lex Jansen

"Arthur Tabachneck" <atabachneck@home.com> wrote in message news:Z_327.440800$eK2.89424732@news4.rdc1.on.home.com... > 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, > Art > > >


Back to: Top of message | Previous page | Main SAS-L page