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-24 21:44
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » [Demo] An NDOS programming example I made View 1,264 Replies 4
Original Poster Posted 2003-08-22 00:00 ·  中国 宁夏 石嘴山 电信
初级用户
Credits 126
Posts 8
Joined 2003-07-24 00:00
22-year member
UID 7432
Gender Male
Status Offline
Back then I was crazily fond of NDOS and 4DOS. One important reason was that NDOS could be used for programming, instead of only writing simple batch files with very poor interactive features like MS-DOS. This is a little automatic question-generating program I wrote for my son years ago. From it you can see that NDOS's programming features are something batch files simply can never achieve.

An NDOS program is equivalent to a batch file, with the extension .BTM. Of course, you can also change it to BAT, and it can still be executed.
It can only run under an NDOS or 4DOS environment.
Please just change the downloaded file's extension from RAR to BTM.
Open attachment
Floor 2 Posted 2003-08-22 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Actually, if you use some batch enhancement tools, such as BE, XSET, etc., then MS-DOS batch processing is also very powerful.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-08-22 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
.......your son........??? I'm dizzy
I've used NDOS, and its batch processing is done quite well.

Batch processing is not MS-DOS's strong point, nothing you can do about it, even if you add other programs. It's still too slow....
Batch processing is not just as simple as an automatically executed script, hehe. The purpose it was originally designed for also has a lot to do with runtime efficiency.

For batch processing under MS-DOS, what I like most is the DOS version of PERL. A scripting language is its father after all, so its features are strong.
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 4 Posted 2003-08-23 00:00 ·  中国 宁夏 石嘴山 电信
初级用户
Credits 126
Posts 8
Joined 2003-07-24 00:00
22-year member
UID 7432
Gender Male
Status Offline
The following is quoted from Wengier's post at 2003-8-22 0:44:20:
Actually, if you use some batch enhancement tools, such as BE, XSET, etc., then MS-DOS batch processing is also very powerful.


Where are these tools? Moderator Lao, give us a link
Floor 5 Posted 2003-08-24 00:00 ·  中国 浙江 温州 电信
银牌会员
★★★
Credits 1,001
Posts 309
Joined 2002-11-19 00:00
23-year member
UID 283
Gender Male
Status Offline
perl for dos is pretty good
I uploaded one to the Union's ftp site
Forum Jump: