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 •


#1
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.
Echo creating new folder "abc"
Md abc
Echo.
Echo press anykey to delete abc
Pause >nul
Del /f /q "abc"
Cls
Echo.
Echo abc has been deleted
Echo.
Exho press anykey to exit
Pause >nul


Report •

#2
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 •

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

Report •
Related Solutions


Ask Question