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-08-11 22:57
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Can the error messages in cmd be saved to a file? View 910 Replies 5
Original Poster Posted 2010-08-08 14:12 ·  中国 四川 成都 电信
新手上路
Credits 11
Posts 9
Joined 2010-07-25 23:49
16-year member
UID 171201
Gender Male
Status Offline
When you enter a nonexistent command in cmd, it will prompt: "is not recognized as an internal or external command, operable program or batch file". Is there any way to extract it? I want
to use it in a PHP script. I'm a DOS newbie! Hope an expert can teach me!
Floor 2 Posted 2010-08-08 19:15 ·  中国 重庆 电信
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
tobluesky +1 2010-08-08 19:31
Floor 3 Posted 2010-08-08 19:33 ·  中国 四川 成都 电信
新手上路
Credits 11
Posts 9
Joined 2010-07-25 23:49
16-year member
UID 171201
Gender Male
Status Offline
Moderator, could you explain what 2 stands for? I'm a newbie and have never seen it before. Thanks!
Floor 4 Posted 2010-08-09 10:15 ·  美国 惠普HP
版主
★★★★★
Credits 9,023
Posts 5,017
Joined 2007-05-31 19:39
19-year member
UID 89899
Gender Male
Status Offline
Explanation and usage of redirection symbols and handles in batch files
http://bbs.bathome.net/thread-3296-1-1.html
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
tobluesky +1 2010-08-09 11:04
Floor 5 Posted 2010-08-09 11:05 ·  中国 四川 成都 电信
新手上路
Credits 11
Posts 9
Joined 2010-07-25 23:49
16-year member
UID 171201
Gender Male
Status Offline
Thanks
Floor 6 Posted 2010-08-10 19:23 ·  中国 广东 深圳 福田区 电信
新手上路
Credits 5
Posts 3
Joined 2010-07-28 11:17
16-year member
UID 171356
Gender Male
Status Offline
Supporting this, thanks OP
Forum Jump: