中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-13 01:14
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » 請教顯示文本文件內容行 查看 651 回复 5
楼 主 請教顯示文本文件內容行 发表于 2003-11-06 00:00 ·  中国 广东 东莞 电信
中级用户
积分 260
发帖 47
注册 2002-10-30 00:00
23年会员
UID 105
性别 男
状态 离线
如何用DOS命令在屏幕上顯示文本文件第幾行至第幾行?
2 发表于 2003-11-06 00:00 ·  中国 山东 淄博 联通
初级用户
积分 158
发帖 19
注册 2003-09-29 00:00
22年会员
UID 10488
性别 男
状态 离线
用电脑
3 发表于 2003-11-06 00:00 ·  中国 广东 东莞 电信
中级用户
积分 260
发帖 47
注册 2002-10-30 00:00
23年会员
UID 105
性别 男
状态 离线

例如:下面一個 readme.txt 文件,要在DOS屏幕上顯示" 1. If the Operating System's。。。。。 Device Manager." 將如何操作?

《readme.txt》
______________________________________________________________________
For Windows ME:

1. If the Operating System's New Hardware Wizard prompts you that
"New Hardware Found" for the "PCI Ethernet Controller", you should
click "Next" until "Finish" is clicked and without specifying
location of the driver. You will see the "PCI Ethernet Controller"
in the Device Manager.

2. Then you can install or update the NDIS driver with "setup" or
"setup -s" command:
a) setup: The InstallShield will prompt you the steps to install
or upgrade the driver.

b) setup -s: The InstallShield will complete the installation or
upgrade without prompting you any instruction.

You need to reboot the system immediately after the Install shield
completes the installation/upgrade.

3. Do not click "Cancel" during New Hardware Wizard searches for the
driver.
_______________________________________________________________________
4 发表于 2003-11-15 00:00 ·  中国 广东 东莞 电信
中级用户
积分 260
发帖 47
注册 2002-10-30 00:00
23年会员
UID 105
性别 男
状态 离线
使用 type readme.txt 命令,顯示 readme.txt 全部內容;
使用 type readme.txt | more 命令,分屏顯示 readme.txt 全部內容,滿一屏則暫停;
如何用DOS 命令在屏幕上隻能顯示 readme.txt 第二行至第五行的內容信息?
請高手指點! 謝謝!!
5 发表于 2003-11-22 00:00 ·  中国 河南 焦作 联通
初级用户
积分 135
发帖 7
注册 2003-11-22 00:00
22年会员
UID 13184
性别 男
状态 离线
使用 type readme.txt/p或/w
6 发表于 2003-11-22 00:00 ·  中国 河南 安阳 联通
银牌会员
★★★
积分 1,186
发帖 334
注册 2003-05-30 00:00
23年会员
UID 2626
性别 男
状态 离线
我也想知道怎么显示文本的第几行
有选择的显示能实现吗
论坛跳转: