
| Quote: | |
|
CODE: [Copy to clipboard]要删除c:\bat里的子目录中文件,加 /sdir /a/b c:\bat\imag | findstr .>nul 2>nul &&echo 有文件,操作终止 || del c:\bat /q/f/a 2>nul
CODE: [Copy to clipboard][ Last edited by Hanyeguxing on 2009-7-6 at 07:55 ]dir /a/b c:\bat\imag | findstr .>nul 2>nul &&echo 有文件,操作终止 || del c:\bat /q/f/a/s>nul 2>nul
CODE: [Copy to clipboard]dir /a/b c:\bat\imag | findstr .>nul 2>nul &&md c:\bat\def 2>nul || del c:\bat /q/f/a 2>nul
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |