BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How do I change my default home directory in SAS windows environment?
5 REPLIES 5
deleted_user
Not applicable
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.
Olivier
Pyrite | Level 9
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
Cynthia_sas
Diamond | Level 26
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
deleted_user
Not applicable
> 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
advoss
Quartz | Level 8
Another thing you can do, depending upon your final goal is to use the SAS option -sasinitialfolder C:\xyz

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 5 replies
  • 2217 views
  • 0 likes
  • 4 in conversation