随笔分类 -  批处理bat

del命令实现全盘删除指定文件
摘要:@echo offRem :全盘删除指定文件set "fileName=Normal.dotm" set "outPutPath=C:\result.txt"echo. > %outPutPath%echo 正在删除for %%i in (C D E F G H I J K L M N O P Q ... 阅读全文
posted @ 2015-07-19 21:44 pzy4447 阅读(669) 评论(0) 推荐(0)
for /r命令实现全盘搜索指定文件
摘要:@echo offRem :全盘搜索指定文件并输出到文本set "fileName=Normal.dotm" set "outPutPath=C:\result.txt"echo. > %outPutPath%echo 正在搜索for %%i in (C D E F G H I J K L M N ... 阅读全文
posted @ 2015-07-19 21:39 pzy4447 阅读(627) 评论(0) 推荐(0)