中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-02 22:50
48,038 topics / 350,123 posts / today 1 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » [Recommendation] Teaching of Batch Processing
Printable Version  78,327 / 303
Floor91 8250 Posted 2006-11-04 04:20
新手上路 Posts 6 Credits 12
Too simple, I basically understand it all. Personally, I think it's not useful.
Floor92 jiesen Posted 2006-11-12 05:51
新手上路 Posts 8 Credits 15
Thank you, very useful~!~!
Floor93 dshh98 Posted 2006-11-15 13:04
新手上路 Posts 2 Credits 3
Even more basic. I've just started to get in touch with batch processing. :(
Floor94 zgren1979 Posted 2006-11-16 11:20
初级用户 Posts 24 Credits 52
Top the second post... has the effect of attracting medicine... thanks a lot
Floor95 wangjie Posted 2007-02-02 03:45
新手上路 Posts 5 Credits 10 From 湖北
Learning! Thanks to the thread starter!
Floor96 zencome Posted 2007-02-03 02:22
初级用户 Posts 47 Credits 102
Very worthy of learning!
Floor97 me473 Posted 2007-02-03 10:11
新手上路 Posts 5 Credits 9
The first post is still understandable, but the second one isn't.
Floor98 anqing Posted 2007-02-05 08:00
高级用户 Posts 413 Credits 859
There are only two posts on this floor, which is still too few. I hope to add some more in the future, with explanations and examples.
Floor99 181801669 Posted 2007-02-06 12:03
初级用户 Posts 27 Credits 58
Great, learning it now
Floor100 crazyfish Posted 2007-02-09 06:04
新手上路 Posts 3 Credits 6
First, I'll top it and then come back to read.
Floor101 semirmyway Posted 2007-02-10 11:12
新手上路 Posts 10 Credits 18
Learn. . . . . .
Floor102 dsaczx Posted 2007-02-11 05:26
新手上路 Posts 2 Credits 4
It would be better if it could be more detailed.
Floor103 xycoordinate Posted 2007-02-16 01:19
中级用户 Posts 228 Credits 493 From 安徽

The choice command can be used to let the user enter a character to run different commands. When using it, the /c: parameter should be added. After c:, the characters that can be entered should be written without spaces in between. Its return code is 1234...

For example: choice /c:dme defrag,mem,end
Will display
defrag,mem,end?

For example, the content of test.bat is as follows:
@echo off
choice /c:dme defrag,mem,end
if errorlevel 3 goto defrag should judge the highest error code first
if errorlevel 2 goto mem
if errotlevel 1 goto end

:defrag
c:\dos\defrag
goto end

:mem
mem
goto end

:end
echo good bye


Why can't the choice command be executed under CMD on my WINXP???
Floor104 gne3 Posted 2007-02-17 03:41
高级用户 Posts 252 Credits 526
Let me take a look
Floor105 690712 Posted 2007-02-24 06:47
初级用户 Posts 16 Credits 32
There's so much to learn...
Prev  14 5 6 7 8 9 1021  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023