Please enable JavaScript to view this site.

A-Shell Reference

Updated November 2015; see History

The –g switch is used to force A-Shell/Windows and ATE to use an alternate icon. This icon appears in the About box, on the title bar, and on the task bar. Syntax may be any of the following.

-g ####

 

Allows you to specify the internal numeric ID of an icon already embedded within the A-Shell executable. These are in the range of 1001-1050, but this typically isn’t very useful without some insider knowledge.

-g resname

 

Similar to the first, except it allows you to specify the icon by its resource name. Again, you would need to have special knowledge about which icons are available.

-g resname::dllname

 

This third option allows you to specify an icon by its resource name and the name of the DLL within which it resides. In this case, the DLL should be in the same directory as ashw32.exe was loaded from, or at least in the PATH.

-g filename.ico

 

This fourth option is the easiest for most people to use, as it only requires that you supply an ico file. The file should be placed in the %MIAME%\icons subdirectory. The %MIAME% directory is set automatically to the directory where miame.ini was loaded from, unless manually set in your Windows configuration.

History

2015 November, A-Shell 6.2.1421:  Revise search for icon specified in -g command line switch to look specifically in the %MIAME%\icons directory before doing a more general search, so as to reduce the chance of finding an unexpected match.