Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FILES=XX dans CONFIG.SYS
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00625060
Message ID:
00625303
Views:
13
You can use OS() function. It returns:
DOS 07.xx under WIn 95/98
DOS 05.00 under Win NT 4 and Windows 2000

>Nick,
>
>Thank you very much for this reply. I will experiment on this.
>
>Another question;
>how can I detect that the application is running under Windows NT, 2000, or XP directly from Foxpro 2.x DOS?
>Should I start by looking if FILE("C:\WINNT\System32\NUL")=.T. ???
>
>If .T. I am under Windows NT, 2000, or XP and if .F. I am under previous Windows versions or directly under DOS. Is this logic correct or is there any other way of doing it?
>
>Thanks in advance.
>
>Réal
>------------------------------------
>>>Est-ce que quelqu'un connait un truc pour régler le probleme du nombre de FILES=xx requis dans CONFIG.SYS lorsqu'une application Foxpro DOS est utilisée avec Windows?
>>>
>>>Nous utilisions UMBFILES.COM à l'époque du DOS pur et tout simplement FILES=xx dans CONFIG.SYS lorque nous sommes sur place mais quand un client est au loin ou lorsqu'on distribue un démo, plusieurs personnes ne savent pas comment créer ou modifier CONFIG.SYS.
>>>
>>>Ce serait bien d'automatiser la chose.
>>>
>>>Bien sûr il y a la solution de faire en sorte que l'application Foxpro ajoute ou modifie elle-meme Config.sys mais y a-t-il une autre solution plus simple pour régler ce probleme?
>>
>>It is possible to find, analyze and edit the CONFIG.SYS right from within VFP using different VFP functions, then use API function call to automatically restart the PC. Foer example see FAQ#8009 "How can I shut down or reboot Windows for all versions?"
>>Note that if FP DOS runs under Windows NT, 2000, or XP, you will need to edit FILES=XX line in CONFIG.NT in C:\WINNT\System32.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform