memorywindows-7consoledosclipper

not enough space for environment appears when executing ".exe" file


I am trying to use an application called CLUT.exe which is an old application for MS-DOS that can be used to reindex NTX files for DBF databases.

(This is not the main topic, but I am just writing this if someone wants to test the app and don't trust at all about the content).

The problem starts when trying to run the command line version through console (cmd.exe) and this error appears:

C:\>CLUT.exe [arg1] [arg2] [arg3]

run-time error R6009
- not enough space for environment

So, according to what I've searched, this could be a possible solution:

http://support.microsoft.com/default.aspx?scid=kb;en-us;230205

but it doesn't work and every alternative that I found to solve this over the internet is the same.

Another alternative could be to make right-click in the .exe file, go to Properties then Memory tab and increase the Initial environment memory from Auto to the max value but it doesn't work too.


Well, I am stuck and no "possible" solution is working for me. If someone is interested, knows more about this issue and want to test, you can download the application from here (click "Free Download" green button):

http://www.filebasket.com/free/Development-Clipper-programming-language/clut-exe/13996.html

or directly from my DropBox:

https://dl.dropbox.com/u/15208254/stackoverflow/clut_214.rar


Just to know, I am using Windows 7 and the CLUT.exe application is a Clipper based app (old programming language) that may run under windows console (cmd.exe).


Solution

  • Wikipedia does mention other dos emulators but, oddly, doesn't mention BOCHS.

    Reindexing NTX files is not a difficult thing to do, and can be done with tools other than CLUT. For example, many of the utilities listed on this part of Download32 could be used. Otherwise, you could write your own using Harbour Project or xHarbour. Or contact me off list and I'll cook up something in Clipper 5.3.

    LATER

    If I read the README correctly for CLUT, it's a replacement for the DBU utility that comes with Clipper 5.x. I can supply you with a build of that if you're unsuccessful with other approaches.