【原创】常用到的脚本命令
-------------------------------------------
--删除指定目录下(包括子目录)所有内容的脚本,并输出日志
-------------------------------------------
@echo off
cls
attrib -s -h -r E:\data_exchange\*.* && del E:\data_Exchange\*.* /q
dir E:\data_exchange /ad /b /s >del.txt
for /f "delims=," %%i in (del.txt) do rd "%%i" /s /q
del del.txt /s /q