Solved del; folder useing batch file

September 17, 2012 at 11:14:47
Specs: Windows XP
i want to del folder name abc from all drive and deep in side sub folder using batch file

See More: del; folder useing batch file

Report •

September 18, 2012 at 05:46:45
Hallo :)

If i understand correctly, u wish to delete a folder... I have made a script for you so its easy to understand & copy.
It will make a folder called abc for you, & then delete it.

@echo off
Echo creating new folder "abc"
Md abc
Echo press anykey to delete abc
Pause >nul
Del /f /q "abc"
Echo abc has been deleted
Exho press anykey to exit
Pause >nul

Report •

September 28, 2012 at 17:40:26
✔ Best Answer
RD command is used to delete a folder
ie. RD c:\Users\%USERNAME%\Desktop\abc

Report •

September 28, 2012 at 21:25:16
rd /s /q c:\xxx\yyy\zzz\abc

Report •
Related Solutions

Ask Question