rem 刪除share下的檔案
del D:\share\*.* /Q /F
rem 刪除share下的目錄
for /f "usebackq delims=" %%a in (`"dir D:\share /ad/b/s "`) do rd /s /q "%%a"
del D:\share\*.* /Q /F
rem 刪除share下的目錄
for /f "usebackq delims=" %%a in (`"dir D:\share /ad/b/s "`) do rd /s /q "%%a"