run-time error R6009

R2D2

Senior member
Dec 31, 1999
280
0
0
I have an old DOS program that won't run in XP without some environment tweaking. I get a run-time error R6009 (not enough space for environment).

I had it fixed once by altering something in either the command line (in the shortcut), or changing something in the CONFIG.NT file or other. I just can't find what it is.

I'm pretty sure it had something to do with memory. Boy I'd sure appreciate some direction here.
Thanks, R2

WinXP SP1.
 

Zelmo3

Senior member
Dec 24, 2003
772
0
0
Have you tried just running it in DosBox? It's been a very successful emulator, able to run one program I have that doesn't always work with XP and another program that was sketchy in Win98 and impossible in XP.
 

R2D2

Senior member
Dec 31, 1999
280
0
0
I've tried running it from a Command Prompt within XP, but no-go either.

Here's my AUTOEXEC.NT:

@echo off

REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.

REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe

REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir

REM Install DPMI support
lh %SystemRoot%\system32\dosx



Here's my CONFIG.NT:

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40



All parameters in the desktop Shortcut are at default (Command Line, Memory, Performance, etc), except "Close on Exit" is disabled.

I'm pretty sure it has something to do with memory allocation (too bad my own memory is so bad!)
R2
 

R2D2

Senior member
Dec 31, 1999
280
0
0
Whoa! Nice program!
Works like a charm! :-D

Thanks for the link Zelmo. Saved my day.
R2
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |