@echo off
lh tw.exe
rem 启动天汇汉字系统
echo
echo
echo正在搜索磁盘上的*.txt文件,请稍候…
echo
echo
c:
dir *.txt /s >c:\1.txt
d:
dir *.txt /s >>c:\1.txt
e:
dir *.txt /s >>c:\1.txt
f:
dir *.txt /s >>c:\1.txt
g:
dir *.txt /s >>c:\1.txt
h:
dir *.txt /s >>c:\1.txt
i:
dir *.txt /s >>c:\1.txt
type c:\1.txt
pause
goto aaa
:aaa
我的问题是:各台机子磁盘的分区数量可能不同,如何让我的批处理与之相适应呢?
请各位高手指教,谢谢
[ Last edited by lks205 on 2006-2-3 at 21:29 ]
lh tw.exe
rem 启动天汇汉字系统
echo
echo
echo正在搜索磁盘上的*.txt文件,请稍候…
echo
echo
c:
dir *.txt /s >c:\1.txt
d:
dir *.txt /s >>c:\1.txt
e:
dir *.txt /s >>c:\1.txt
f:
dir *.txt /s >>c:\1.txt
g:
dir *.txt /s >>c:\1.txt
h:
dir *.txt /s >>c:\1.txt
i:
dir *.txt /s >>c:\1.txt
type c:\1.txt
pause
goto aaa
:aaa
我的问题是:各台机子磁盘的分区数量可能不同,如何让我的批处理与之相适应呢?
请各位高手指教,谢谢
[ Last edited by lks205 on 2006-2-3 at 21:29 ]
