As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:March 6

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

Some security-focused administrators at client sites even restrict access to C:\temp. However they still support and provide full create and update rights at the windows environment variable %temp% which SAS refers to as !temp. rather than c:\temp, use !temp, for example as shown at right.

filename sparetxt '!temp\sparetxt.txt' ;

On my VISTA platform, this converts to

C:\Users\Peter Crawford\AppData\Local\Temp

When I really need to know the path that !temp refers to

%let tempPath = %sysget(temp) ;

Environment variable names are not case-sensitive on windows (unlike UNIX). Learn about assigning SAS Libraries Using Environment Variables at the SEE ALSO link below.


Submitted By peterC



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip