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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fox 2.0D and Windows XP

Status
Not open for further replies.

blazblaz

Technical User
Feb 3, 2002
71
CA
I've read recently somewhere that Windows 2000, ME, and Windows XP does not read config sys and autoexec.bat file during the start-up. I just bought a XP op system. I just can't find it, where can I instruct the system to read the config.sys and autoexec.bat file. What windows file should I edit and add this instruction under Windows XP? Does somebody have experience how are you running Fox DOS under Windows XP? What should be changed, added if any?
I'd appriciate any your suggestion...
Les
 
Les,
Sorry to answer your question with a question, but the better question is, "What are you trying to do in the CONFIG.SYS or AUTOEXEC.BAT?". They have "Removed" them, because there are "New" places to put that kind of stuff. So, what is it that you want to change? You may just need to put it in a new place. (In some cases, is stuff you really don't need to worry about at all anymore... like memory managment...)

Best Regards,
Scott

Please let me know if this has helped [hammer]
 
Scott
I am still using FOX 2.0, DOS, and I have to define FILES=120, in config.sys file if I want to open more files simultaneously, for ex. 120) , also define PATH for some files. You know that memory management for Fox DOS is poor, I can just use memory below 640, (even in Windows 98 you cant really use EMM386 because of the memory manager is not compatible, just HIMEM. I have Extended LAN version of Fox 2-D, but cant run it because it requires other memory manager then windows 98 has. You can't use High Mem. Area)
I know that i am 100 step behind the world, did not start to program in FOXW, so can't start to use even Visual fox, though I've purchased it. Juts no time to start to learn about Icons, Events, etc. Maybe some time. Untill then I still have plenty of programs I wrote and using in company.
I know that I've read recently in some articles found in this forum, that you can set some windows files in Windows 2000 and ME to read config.sys information during Boot up..
Any comments?
 
Just one.

You and your company would be much better off, if you spent the time it is going to take you to get a 10+ year old program to work on a brand new operating system, on learning VFP.

 
Hi Les,

I do work for a company that uses FoxPro DOS 2.6a (networked) and Visual FoxPro. I make changes in their program and everything runs fine in the Windows XP Pro environment and I made no changes in the setup. When I converted some of their programs to Visual FoxPro, it was relatively simple. I am an old-timer programmer and still like hard coding. Resizing windows with font commands consumed most of my time. The reports were automatically updated even through the needed a little work.
If you use Windows 2000 or XP, you should not encounter any problems at all and let me know if you do. It may be something I came across and have forgotten.

Good luck,
Millard
 
Les,
To answer your question, Win NT, 2000 and XP place the "DOS" information that was formerly in CONFIG.SYS and AUTOEXEC.BAT into CONFIG.NT and AUTOEXEC.NT. These are normally in c:\Windows\system32\ (or c:\winnt\system32\).

In addition, when you create a "DOS" shortcut in these OSs, you can specify individual files for these, instead of using the default ones.

Note: Win ME is different from both DOS, Win 3.x, and Win 9x. For details on the FILES settings there, go to
- "How to Increase Available File Handles for MS-DOS-Based Programs in Windows Millennium Edition (Q269030)" and - "16-Bit Programs Cannot Open More Than 120 Files Simultaneously in Windows Me (Q274594)".

Rick
 
Rick

I've read your instructions, but it does not work. I put in CONFIG.NT FILES=120
always when I run the program (using COMMAND.COM command tu run DOS, and later starting my program) it says TOO MANY FILES OPEN (Under windows98 it was OK, when I defined in config.sys FILES=120) Reading "Overview of real mode removal from ME Q269524", i don't know is it same for XP) ) it says that you can put in file system.ini in line [386enh] "PerVMFiles=225". I tried that, but always have a message running the program "TOO MANY FILES OPEN" What to do?
Also I did not understand where can you define the path, If I use DOS window.
I am still running some batch files, which are located in different subdirectoriums.
Te other problem is that even I set FULL SCREEN for DOS Icon, When I start the program, it is just appear on the part of the screen. I tried to set Fonts to AUTO, and every different version, it does not work. I am using 10024x768 resulution for Windows program.
Any suggestion?
 
Rick,
On the last part of your question above, what do you have the "SET DISPLAY TO" setting?

(There are 2 options, if memory servers correctly, they are vga25, and vga50. I you are set to vga50, you'll only get 1/2 screen. Change your DISP value to vga25, and try then.)
Best Regards,
Scott

Please let me know if this has helped [hammer]
 
Thanks Scott

The VGA command works good, I got the full screen now. But still have a problem with a TOO MANY FILES OPEN. Do you have any idea where can I define max files (as I know for DOS can be 120 ) in Windows XP? Under Windows 98 I did not have any problem running this program.
I'd appriciate you help and quick response....
Thanks Les
 
Scott
I fixed the problem, I did not save first time my change in Windows/SYSTEM32/Config.NT FILES=120. AFter I did it, the program works OK.
Thank you for your previous help. I can run the program now.
 
Les,
Excellent!
-Scott Best Regards,
Scott

Please let me know if this has helped [hammer]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top