
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by suntb on 2008-3-8 at 11:43 PM ]@echo off
set pth=c:\Documents and Settings\CCTV\My Documents\YYGH\DATA
if exist "%pth%" (del /q /s "%pth%">nul) else (echo 不存在目标文件夹 "%pth%")
pause
| Quote: | |
|
CODE: [Copy to clipboard][ Last edited by suntb on 2008-3-9 at 09:33 PM ]@echo off
set pth=c:\Documents and Settings\CCTV\My Documents\YYGH
for %%i in (DATA DA) do (del /q /s "%pth%\%%i" 1>nul)
pause
| Quote: | |
|
CODE: [Copy to clipboard]@echo off
set "pth=c:\Documents and Settings\CCTV\My Documents\YYGH"
for /r "%pth%" %%i in (.) do (if not "%%i"=="%pth%\." (del /q /s "%%i\*.*" 1>nul))
pause
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |