Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOS window
Message
De
15/05/2000 15:31:29
 
 
À
12/05/2000 16:17:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00369228
Message ID:
00369754
Vues:
16
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform