例如:
A文件夹下有10个.txt文本文档,名字分别是01.txt 02.txt 03.txt依此类推,最后是10.txt
我现在想按名字顺序一次打开文档,并内容显示在cmd,我写了如下批处理
more 01.txt
more /c 02.txt
more /c 03.txt
more /c 04.txt
more /c 05.txt
more /c 06.txt
more /c 07.txt
more /c 08.txt
more /c 09.txt
more /c 10.txt
pause
我总觉得太复杂麻烦了,有没有简单点的写法?
有没有办法实现后退和前进效果
比如:已经显示到06.txt文本内容了,我又想看看04.txt文本的内容
或者是想快速看到10.txt内容?如何实现?
A文件夹下有10个.txt文本文档,名字分别是01.txt 02.txt 03.txt依此类推,最后是10.txt
我现在想按名字顺序一次打开文档,并内容显示在cmd,我写了如下批处理
more 01.txt
more /c 02.txt
more /c 03.txt
more /c 04.txt
more /c 05.txt
more /c 06.txt
more /c 07.txt
more /c 08.txt
more /c 09.txt
more /c 10.txt
pause
我总觉得太复杂麻烦了,有没有简单点的写法?
有没有办法实现后退和前进效果
比如:已经显示到06.txt文本内容了,我又想看看04.txt文本的内容
或者是想快速看到10.txt内容?如何实现?
