How to check if Win or Win-OS/2

How to check if Win or Win-OS/2

Post by Da coo » Wed, 31 Jan 1996 04:00:00



One way would be to check the difference of the system directories.
Windows uses \WINDOWS\SYSTEM and WIN-OS2 use \OS2\MDOS\WINOS2\SYSTEM.
 
 
 

How to check if Win or Win-OS/2

Post by Bill McCrack » Thu, 01 Feb 1996 04:00:00


Or the right way and check your PB environment vars (PB4).
Never assume a directory structure exists.  You might have an
OS/2 die-hard that didn't want to let go of his system directory
structure (maybe due to other programs, etc.).  Worst case,
you Win SDK calls to find the environment or system information.


>One way would be to check the difference of the system directories.
>Windows uses \WINDOWS\SYSTEM and WIN-OS2 use \OS2\MDOS\WINOS2\SYSTEM.

Bill McCracken

"Opinions are the facility to see how well your foot fits
into your mouth -- thus fitting to be humble."

 
 
 

1. How to check if Win or Win-OS/2

I need to determine if my PowerBuilder app is being run under OS/2 or just
Windows on top of DOS. Is there any way to determine this from within my app?

                                Thanks in advance
                                William Eversgerd

2. Cisco 2511 access server conifg

3. Additional OS (WIN 98 SE) on slave harddrive combined with WIN XP (master)

4. XML-ADO - record Updation

5. Tools for AIX + AS/400 + Win-9X + Win-NT + Win-2k ?

6. resident / tsr display

7. Win messenger Win XP <--CAM--> Msn Messenger Win 98

8. Tape drive won't work, Scanner won' work Win 95

9. Win,win,win,...

10. Which is best Win 98, Win ME, Win 2k or XP

11. Netware requester makes win-os/2 unstable?

12. Test Running Tools for Win-OS/2