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 11:23
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Question about redirection in DOS batch files View 605 Replies 1
Original Poster Posted 2003-07-27 00:00 ·  缅甸
初级用户
Credits 103
Posts 1
Joined 2003-07-27 00:00
22-year member
UID 7630
Gender Male
Status Offline
The following is taken from a section of a bat file
if not errorlevel 1 echo path %1 time %2 >>save.txt
But in save.txt I didn't find the content appearing in the format I wanted
It only shows "Incorrect command syntax"
What's going on?
Please explain~~
Floor 2 Posted 2003-07-28 00:00 ·  中国 北京 科技网
银牌会员
★★★
颓废青年
Credits 2,265
Posts 721
Joined 2003-05-12 00:00
23-year member
UID 2032
Gender Male
Status Offline
Post the whole context.
Forum Jump: