@echo off
@mode con:cols=80 lines=8
@title 枚举并适时显示
@color 71
@echo 正在枚举中..........
@for /r %%d in (*.*) do @(
@echo %%d >>result.txt && @(cls && echo%%d)
)
@title 枚举并适时显示
@start result.txt
@echo.
@echo OK,完成 正在退出..........
@dir %windir% /a /s>nul
exit
下面这个是我改的
@echo off
@mode con:cols=80 lines=8
@title 枚举并适时显示
@color 71
@echo 正在枚举中..........
@for /r %%d in (*.*) do @(
@echo %%d >>result.txt
)
@title 枚举并适时显示
@start result.txt
@echo.
@echo OK,完成 正在退出..........
exit
另外怎样才能使生成的result.txt 中的文件不显路径
@mode con:cols=80 lines=8
@title 枚举并适时显示
@color 71
@echo 正在枚举中..........
@for /r %%d in (*.*) do @(
@echo %%d >>result.txt && @(cls && echo%%d)
)
@title 枚举并适时显示
@start result.txt
@echo.
@echo OK,完成 正在退出..........
@dir %windir% /a /s>nul
exit
下面这个是我改的
@echo off
@mode con:cols=80 lines=8
@title 枚举并适时显示
@color 71
@echo 正在枚举中..........
@for /r %%d in (*.*) do @(
@echo %%d >>result.txt
)
@title 枚举并适时显示
@start result.txt
@echo.
@echo OK,完成 正在退出..........
exit
另外怎样才能使生成的result.txt 中的文件不显路径
