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.
Tips:Determine the Location of the Executing Program
It is possible to determine the physical location of the program executing in the Enhanced Editor by examining one or more environmental variables. The
SAS_EXECFILENAME and the
SAS_EXECFILEPATH environmental variables are especially helpful. The paper cited in the see also link has example code.