This article contains instructions to solve the DOS/4G error (2001) exception 0Dh in Windows 10, when trying to run a DOS application that uses the DOS/4G extender. DOS/4G is a 32-bit DOS extender developed by Rational Systems (later Tenberry Software) that allows DOS programs to eliminate the 640 KB conventional memory limit by addressing all the available memory on Intel 80386 and above machines.
How to FIX: DOS/4G error 2001: exception 0Dh on Windows 10 or 7 OS.
The error “DOS/4G 2001 error: exception 0Dh” relates to Windows PATH than DOS4G extender was designed to handle. In fact this happens, because DOS4G extender has a limit of 260 characters which in more modern systems typically is significantly longer than 260 characters.
To resolve the “DOS/4G error (2001) exception 0Dh” problem, just add the line “SET PATH=” on the batch file that starts the application, or in ‘Autoexec.nt’ file.
For example: To add the the “SET PATH=” line, to the ‘autoexec.nt file’:
1. From File Options, choose to Show the Hidden Files, the Protected operating system files and extensions for known file types.
2. Edit the “C:WindowsSystem32Autoexec.nt” file in Notepad and add this line: *
* Note: If the “Autoexec.nt” doesn’t exist in the above location (C:WindowsSystem32), see the instructions below on how to create it.
3. Save the Autoexec.nt file and restart your PC.
4. Run your legacy application. “DOS/4G error (2001)” should be resolved.
How to to create the Autoexec.nt file:
1. Open Notepad and copy and paste the text below:
@echo off
lh %SYSTEMROOT%system32mscdexnt.exe
lh %SYSTEMROOT%system32redir
lh %SYSTEMROOT%system32dosx
SET BLASTER=A220 I5 D1 P330 T3
SET PATH=2. Go to File > Save As
3. In the File Name box, type autoexec.nt
4. Change the Save As type to All Files and Save the file in C:WindowsSystem32 directory. ** Note: If your system doesn’t allow you to save in ‘C:WindowsSystem32’, save the ‘autoexec.nt’ file on your desktop and then move it to ‘C:WindowsSystem32’.
5. Restart your PC.
You ‘re done! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):