If your need is to open a SAS script during Base SAS startup, create a SAS script with the name autoexec.sas and place it at
'C:\Program Files\SAS\SAS 9.1' if 9.1.3 and or on the home directory of the version installed. SAS will automatically pick it up.
To check the default autoexec location, use proc options option=autoexe;run;
You can also add this autoexec option in the C:\Program Files\SAS\SAS 9.1\nls\en\sasv9.cfg'.