![]() |
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-13 10:58 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Question from a newbie: how do I learn to read and write batch files? |
| Printable Version 998 / 4 |
| Floor1 zghui2002 | Posted 2004-02-26 00:00 |
| 初级用户 Posts 21 Credits 195 | |
|
I haven't been using DOS for very long, and I've read quite a few articles introducing batch files, but none of them explain it in enough detail. I'd like to ask the experts here how I should study this and how to understand it. Please give me some guidance, thanks!
|
|
| Floor2 Kinglion | Posted 2004-02-26 00:00 |
| 铂金会员 Posts 1,924 Credits 5,798 From 金獅電腦軟體工作室 | |
|
Practice is the only standard for testing truth. After you understand the functions and basic usage of some basic batch commands, try modifying some already completed batch files and see what changes before and after the modification. Then combine that with the command's own help information to better understand what the command does.
That's how I learned it. |
|
| Floor3 zghui2002 | Posted 2004-02-27 00:00 |
| 初级用户 Posts 21 Credits 195 | |
|
Thanks, I'll improve by working through some examples. But right now I want to know which commands can be used in batch files.
|
|
| Floor4 zhri | Posted 2004-02-27 00:00 |
| 高级用户 Posts 153 Credits 665 | |
|
All commands and executable files in the search path—as long as you can type them at C:\>—can be used in a bat file.
bat also has its own special commands, such as if errorlevel and so on. ...... |
|
| Floor5 zghui2002 | Posted 2004-02-29 00:00 |
| 初级用户 Posts 21 Credits 195 | |
|
I see, but I tried making a few and still feel it's rather difficult.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |