-- delete all files and subfolders under specify folder.
FOR /D %%p IN ("D:\temp\*.*") DO rmdir "%%p" /s /q
del /q /f D:\temp\*
Sep 3, 2014
Delete all files and subfolders under specify folder
Subscribe to:
Posts (Atom)
IT-AIX,Oracle ERP,Oracle DB,SQL Server, Proxy, Firewall, Windows, Mail, Java ... Healthy , House , English , Document Collections...
-- delete all files and subfolders under specify folder.
FOR /D %%p IN ("D:\temp\*.*") DO rmdir "%%p" /s /q
del /q /f D:\temp\*