-register "Excel" "excel.exe" "c:\exdata"
This action adds Excel to the menu. When you click Excel, the file EXCEL.EXE is
The REGISTER system option is valid only as an invocation option (that is, in a SAS
configuration file or in the SAS invocation command). For more information, see
“REGISTER System Option: Windows” on page 562 .
Setting the Initial Path for the Current Folder and the Paths
Specified in the Open and Save Dialog Boxes
If you want to start SAS with a current folder other than the default current folder, use
the SASINITIALFOLDER system option when you start SAS. The pathname that you
specify in the SASINITIALFOLDER option sets the initial current folder as well as the
initial pathname for the Open and Save As dialog boxes.
You can specify the SASINITIALFOLDER option either on the command line when you
start SAS or in a configuration file. For example, you might specify sas -
sasinitialfolder "c:\mySasFiles" to start SAS.
For more information, see “SASINITIALFOLDER System Option: Windows” on page
Displaying a Custom Logo Screen during SAS Invocation
To display your own logo when SAS starts
1. Create the logo that you want to display and save it either as a Windows bitmap
(which has a .bmp file extension), or compile it as a resource and build it into a
dynamic link library.
2. When you invoke SAS, specify the -SPLASHLOC system option with the full
pathname of the file that contains your bitmap. If the bitmap is in a DLL, you must
specify the resource number as well. The default resource number is 1.
For example, if your logo is stored in C:\MYBMPS\SPLASH.BMP specify the following
SPLASHLOC system option:
If your logo is stored in C:\MYDLLS\OPENING.DLL as resource 101, you specify the
following SPLASHLOC system option:
-splashloc c:\mydlls\opening.dll 101
For more information, see “SPLASHLOC System Option: Windows” on page 581 .
Adding User-Defined Icons to SAS
The USERICON system option enables you to add your own icons to SAS. These icons
can be used with SAS/AF and SAS/EIS applications. The syntax for the USERICON
system option is as follows:
-USERICON icon-resource-file number-of-icons
The icon-resource-file argument specifies the full path to a dynamic link library (DLL)
file that contains the user icons. The number-of-icons argument specifies the number of
icons found in the resource file. For example, the following system option specifies that
there are four icons located in an icon resource file named ICONS.DLL found in the C:
-usericon c:\junk\icons.dll 4
Chapter 2 • Interacting with SAS under Windows