Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prevent win3.1 app from detecting w2000

Status
Not open for further replies.

jackha18

Technical User
Sep 28, 2002
39
IL
i have an old win 3.1 application which refuses to run under w2000 saing it is win nt. i tried to use file monitor and registry monitor to see how it does "os detecting", but i guess these apps can't monitor 16-bit. is there any way to prevent from this app seeing real os version? ( it does run in win 98 booted from the same hard disk, so i suppose it doesn't simply check for certain files' presense). thanks.
 
There is an ability to run programs in a Win95 compatability layer. All you need to do is right click on the short-cut for a file and select properties. One of the tabs will be Compatability. Click on that tab, in there you should be able to select Windows 95 Compatability Layer. If that does not work there may be another way round it but I will post that only if this does not work as it is a bit long winded. Greg Palmer

----------------------------------------
Any feed back is appreciated.

And remember if it doesn't work just flush it down the toilet. [Flush]
 
Hi, Greg!
Sorry, I forgot to metion it tried compatibility option as the first thing.
 
Ok here is the longer version then. Open up notepad (Start > Programs > Accessories > NotePad). Type in the full path and filename i.e. c:\myfolder\myprogram.exe. Save the file into the same folder, but call the file win2000.bat. When you save the file just below the file name box there is a file type box. This will be set to txt document. Change this to All Files. Once the file is saved close out of notepad and then right click on the desktop and select NEW, then ShortCut. Point the shortcut to command.com. When the shortcut has been created then you can right click on the shortcut and click on Properties. Click on the Program Tab. Change the path in the CMD Line field to point to the win2000.bat file that you have just created. Also change the Working field to the folder that contains that file. Finally click on Apply and OK. Hopefully if you double click on the new shortcut it should allow the program to run. I have had this working with some programs but not all. Finally if you receive and error messages then let me know. Greg Palmer

----------------------------------------
Any feed back is appreciated.

And remember if it doesn't work just flush it down the toilet. [Flush]
 
Didn't see it mentioned but could a part of the issue be that the Win3.1 app doesn't work on an NTFS-formatted drive? No Windows or DOS OS can use NTFS except WinNT4/2000/XP and some older apps can't either.
 
the trick with batch file didn't work. i also found after really big delay the program pops up a message saying that "chkserve not running, you should run it if you have win nt". what is chkserve? i didn't find anything like this in w2k. is this some kind of old nt service?
(thanks for your help, greg!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top