Someone may already have said the following more cleverly but here goes: ISTR DOS has an API that returns the DOS version in a way programs can use easily. AFAIR, OS/2's DOS session gives "20" so that apps & utils can be confident it possesses the modern highfalutin' bells & whistles. Could AOS become similarly equipped, thereby removing any need for stray files and such?