>On several Windows 95 computers, when I run a DOS app, the window won't close on exit. All of the ms-dos prompt items have the closeon exit box checked in the property sheet. On some computers, (4.95 B), if I set the property of the batchfile in a folder to close on exit, when the file is erased and recreated, the window now closes as desired.
>
This is an issue witht the default PIF settings for DOS .BAT files - the DOS VDM is not inheriting the 'Close on exit' as a part of its default - it comes from FOXRUN.PIF, or from the user system's _DEFAULT.PIF if no FOXRUN.PIF is found, or if there is a .PIF found that matchres the exact name fired, that .PIF is used as a preference - this is the behavior you're seeing. Your best bet is to either rely on settings in FOXRUN.PIF and ship a correct one with the application, manually adjust the user's default for MS-DOS, or you can attempt to roll your own PIF files - a definitely non-trivial task, since much of the content of the .PIF file is both OS versions specific and undocumented by MS.