中国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-12 04:33
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » Publish "Wbat Quick Start Guide (Chinese Version)", updating...
Printable Version  8,574 / 57
Floor1 ko20010214 Posted 2008-10-17 00:04
版主 Posts 1,628 Credits 7,296
I searched online, and there are almost no Chinese tutorials on the use of Wbat. The ones available are just Chinese versions of English demos, not dedicated usage tutorials. After struggling through the Chinese汉化 demonstrations by Wang Xiaoyun and Hnfeng, I decided to write a quick start guide myself.

I wrote part of it first, just some introductions and examples of commands and syntax. I'll write about layout files, batch files, and their coordination later, and I'll post as much as I write.

I hope it's useful to everyone.

Originally, I wanted to upload it to the upload section, but it was too slow and didn't go through at all.
I simply uploaded it as an attachment in the post.
After downloading and extracting, run Study.bat in the DOS window. You can also double-click study.bat directly under Windows.

I tried again, and there seems to be no garbled code... Of course, the parts covered by the BOX and appearing as half-Chinese characters are definitely garbled. But I found another bug.
If you follow the order to view the examples, there will be no problem. If you view example 11 without having seen example 9 before, the output of example 11 will be problematic. After having seen example 9, viewing example 11 will be fine.
The reason is that in the batch study.bat, the cursor is operated at example 9. And example 11 is debugging after the cursor operation. If a command to operate the cursor (wbat cursor 25) is added at the beginning of example 11, there will be no problem...
This fully illustrates what issue? The importance of variable assignment and immediate variable release!
If you have a good habit, initialize variables at the beginning of each subroutine and release variables at the end (except for variables passed as parameters), then this kind of problem won't occur.

[ Last edited by ko20010214 on 2008-10-18 at 03:56 ]

Attachments
wbat-c.rar (238.19 KiB)
Floor2 lianjiang2004 Posted 2008-10-17 19:03
金牌会员 Posts 1,884 Credits 3,946
Looking forward...
Floor3 pusofalse Posted 2008-10-17 19:13
银牌会员 Posts 646 Credits 1,604
Floor4 BC Posted 2008-10-17 20:25
中级用户 Posts 175 Credits 338
Under Windows, you can also double-click study.bat. It seems a bit garbled. I'll try it later. It's powerful!
Floor5 szywangwei Posted 2008-10-18 00:45
新手上路 Posts 4 Credits 8
Okay, learned it.
Floor6 523066680 Posted 2008-10-18 16:13
银牌会员 Posts 1,133 Credits 2,362
The moderator posts a thread, I will give a thumbs - up.
Floor7 radem Posted 2008-10-18 22:22
高级用户 Posts 383 Credits 691
Floor8 kookycy Posted 2008-10-19 00:28
初级用户 Posts 32 Credits 41
Floor9 tempuser Posted 2008-10-20 14:57
高级用户 Posts 261 Credits 547
Thanks, I've been on vacation for a long time and haven't been here for a while. As soon as I came, I saw such a good thing. Although I still don't know what it is, heh heh! Looking forward to continuing...
Floor10 dslz666 Posted 2008-10-20 18:20
中级用户 Posts 117 Credits 233
I was busy some time ago and didn't have time to come and take a look. This time as soon as I came up, I saw something good. Thanks.
Floor11 xzyx Posted 2008-10-20 23:16
初级用户 Posts 19 Credits 50
There has long been http://bbs.verybat.org/thread-8276-1-1.html
This tutorial contains a very detailed wbat Chinese tutorial
Floor12 ko20010214 Posted 2008-10-21 11:49
版主 Posts 1,628 Credits 7,296
Not bad, not bad. I downloaded that tutorial in that forum.
It's written very well, relatively comprehensive, involving various batch processing.
There are those under DOS and those under Windows.
The author's mastery of batch processing is much better than mine.
I only learn what I use when I need it.
I look for materials temporarily when I don't understand, heh heh.
This tutorial can be collected.

The EXE in the tutorial has a 20-day expiration period, that is to say, it will require you to enter a password to open it after 20 days.
The password is heroofbbs.verybat.cn
Not the one it said
heroofbbs.verybat.org
This is what I found out by myself. Ha.

You can flip through the tutorials written by Hero when you have nothing to do, it's really good. Recommended!
My own one,
Mainly want to write something basic,
Suitable for people like me who are of the fast-food ideology.
Write it if interested, forget it if not interested,
Anyway, there are better tutorials available.
As long as you are willing to study.


Extremely dizzy... That broken upload system I uploaded it N times and didn't upload it! ! !
I originally wanted to upload this tutorial.
To save everyone from having to register a new forum to download it.
Maybe accidentally become its super lurker.

可惜啊,传不上去。
Had to upload its CHM version as an attachment in the post.

[ Last edited by ko20010214 on 2008-10-21 at 14:22 ]

Attachments
批处理教程[英雄出品].CHM (127.29 KiB)
Floor13 zhenxin Posted 2008-11-01 16:42
初级用户 Posts 38 Credits 83
Thanks for your sharing
Floor14 lihaixia Posted 2008-12-27 11:42
新手上路 Posts 8 Credits 12
Use GDISK to make an automatic partition, similar to a fool - proof one. Here, I want to ask for the batch code for this function. Please, experts, give me your advice.
Floor15 yjd Posted 2009-01-24 21:29
初级用户 Posts 76 Credits 156
The things on the 12th floor, why are none of them openable, all are blank pages -_-!!!
1 2 3 4  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023