Board logo

标题: 請教顯示文本文件內容行 [打印本页]

作者: topway     时间: 2003-11-6 00:00    标题: 請教顯示文本文件內容行

如何用DOS命令在屏幕上顯示文本文件第幾行至第幾行?
作者: disk     时间: 2003-11-6 00:00
用电脑
作者: topway     时间: 2003-11-6 00:00

例如:下面一個 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.
_______________________________________________________________________
作者: topway     时间: 2003-11-15 00:00
使用 type  readme.txt 命令,顯示 readme.txt 全部內容;
使用 type  readme.txt | more  命令,分屏顯示 readme.txt 全部內容,滿一屏則暫停;
如何用DOS 命令在屏幕上隻能顯示 readme.txt 第二行至第五行的內容信息?
請高手指點! 謝謝!!

作者: jk_jzit     时间: 2003-11-22 00:00
使用 type  readme.txt/p或/w
作者: 龙王     时间: 2003-11-22 00:00
我也想知道怎么显示文本的第几行
有选择的显示能实现吗