China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-26 18:25
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question about DOS error codes? View 553 Replies 2
Original Poster Posted 2003-10-09 00:00 ·  中国 江西 南昌 电信
初级用户
Credits 122
Posts 4
Joined 2003-07-19 00:00
22-year member
UID 7178
Gender Male
Status Offline
It is said that DOS error codes run from 1 to 255. What error code corresponds to the following error message?
"This program cannot be run in dos mode"
Floor 2 Posted 2003-10-10 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Do you mean the “error return code (ERRORLEVEL)”? This error usually returns 1.

Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-10-12 00:00 ·  中国 山东 青岛 联通
初级用户
Credits 166
Posts 15
Joined 2003-10-12 00:00
22-year member
UID 11101
Gender Male
Status Offline
Judging from this display, it seems to be returned when running a WINDOWS program under DOS; this sentence is after the DOS file header and before the PE file header.
Forum Jump: