These are the notifications you will receive if you are dealing with this problem. “16-bit MS-DOS SubsystemC:\Windows\system32\cmd.execonfig.nt. The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose ‘Close” to terminate the application.” “16-bit MS-DOS Subsystempath to the program that you are trying to run or installC:\Windows\System32\config.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose ‘Close’ to terminate the application.” “16-bit MS-DOS Subsystempath to the program that you are trying to run or installconfig.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose ‘Close’ to terminate the application.” “16-bit MS-DOS Subsystempath to the program that you are trying to run or installC:\Windows\System32\Autoexec.nt The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose ‘Close’ to terminate the application.”
The system file is not suitable for running MS-DOS and Microsoft Windows applications
These are two things you can do to fix this error.
1] Change Variable Value
There are some MS-DOS programs that won’t work if the filename path of Environment Variables is too lengthy. Therefore, to fix the issue, we are going to assign a shorter file path value to the same. To do that, launch Run by Win + R, type the following command, and hit Enter. Make sure, you are on the Advanced tab and click Environmental Variable > TEMP > Edit. Paste the following location in the Variable Value section and click Ok. Now, select TMP from the Environmental Variable and click Edit. Paste the following location in the Variable Value section and click Ok. Now, retry installing the software that was causing you the trouble.
2] Re-generate required files
Another reason for this problem is that the following files are either corrupted or missing.
Config.ntAutoexec.nt
We are going to create new files of “Config.nt” and “Autoexec.nt” and place them in the correct location. For Config.nt, open Notepad and paste the following text. Now, click File > Save as. Go to the following location, change “Save as type” to All Files, name the file “config.nt”, and click Save. For Autoexec.nt, open Notepad and paste the following text. Now, click File > Save as. Go to the following location, change “Save as type” to All Files, name the file “autoexec.nt”, and click Save. Now, restart your computer. Hopefully, these solutions will fix the “The system file is not suitable for running MS-DOS and Microsoft Windows applications” error. Read next: Fix Invalid MS-DOS Function file error.