批处理搜索全盘文档,并复制到f盘

[复制链接]
查看11 | 回复2 | 2009-7-7 10:27:53 | 显示全部楼层 |阅读模式
可以隐藏运行@echo offif "%1"=="h" goto beginstart mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit:beginfor %%i in (c d e f g h i j k l m n) do dir /b /s %%i.txt >a.txtfor /f %%a in (a.txt) copy %%a f:\ /ystart mshta vbscript:msgbox("整理完毕")(window.close)...
回复

使用道具 举报

千问 | 2009-7-7 10:27:53 | 显示全部楼层
不能隐藏运行...@echo offfor %%i in (c d e f g h i j k l m n) do dir /b /s %%i.txt >a.txtfor /f %%a in (a.txt) copy %%a f:\...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行