Tuesday, June 30, 2015

How to Edit Autoexec.NT and Config.NT in Windows 7


Sometimes you need programs such as Foxpro DOS runs in your Windows 7. But when you try to edit files such as autoexec.nt and config.nt, you fail. "Access is denied". The message shows up.
Well, the solution is as follow:
1. Open Windows Explorer
2. Go to Computer and then Local Disk (C:)
3. Click Windows, then System32
4. Click Autoexec.nt
5. Click the right button on your mouse
6. Click Property




7. Click Security Tab
8. Click Users


9. Click Edit

10. Click Users
11. Click Allow
12. Click OK
13. Click OK

Now you can edit the files autoexec.nt and config.nt
In order to make foxpro run, you need to add codes as follow:

In Autoexec.NT, you should add:
path=%path%;f:\optic;f:\fpd26

That is the path to your program, data, and Foxpro program. You could change the directory according to yours.

When you run foxpro programs, you could find "Too Many Files Open" Error. To resolve this problem, you should add 2 lines in your config.nt:

files=240buffers=60

That's it.
Hope your program works...

For security, after you edit the program you could change the security setting back.


1 comment:

  1. Increase the productivity of your fleet, truck or car with the AutoExec line of mobile office solutions. Work on your laptop, organize files and keep everything you need at your finger tips for an efficient working environment. When you need a desk in your car look to SVP Mobile Systems as your source for efficiency and flexibility.

    Autoexec

    ReplyDelete