directory change

Reply
N/A
Posts: 0

directory change

How do I change my default home directory in SAS windows environment?
N/A
Posts: 0

Re: directory change

It is somewhat complex as you installed in your station. You can try the configure file but it always disabled the system.The best way is to reinstall it, in the process to change the default settings.
Super Contributor
Posts: 260

Re: directory change

See this Q&A :
http://support.sas.com/faq/037/FAQ03721.html

The most tricky part is to locate your config : it is usually stored in c:\program files\sas\sas 9.1\nls\ \sasv9.cfg
SAS Super FREQ
Posts: 8,646

Re: directory change

Another thing you can do, if you want your output stored in different project folders, is to use the X command. Frequently, I switch between several different projects during the day. So I have an X command at the top of a program file to change the working directory. Then I either change it back at the end of the program, or, when I log off, the working directory will be the default the next time I log on.

x 'cd c:\Project1\Output';

Just a note: the X command does NOT work in an EG environment.

cynthia
N/A
Posts: 0

Re: directory change

> See this Q&A :
> http://support.sas.com/faq/037/FAQ03721.html
>
> The most tricky part is to locate your config : it is
> usually stored in c:\program files\sas\sas 9.1\nls\
> \sasv9.cfg

If you really need to locate the config files used for your sas session, where you start sas modify a copy of the start-SAS icon/shortcut/command by adding
-verbose

Do this only if you _really_ need to know this information, because after reporting the config file(s) used, it adds pages and pages of information to the sas log.

Peter
Frequent Contributor
Posts: 91

Re: directory change

Another thing you can do, depending upon your final goal is to use the SAS option -sasinitialfolder C:\xyz
Post a Question
Discussion Stats
  • 5 replies
  • 430 views
  • 0 likes
  • 4 in conversation