Link to home
Start Free TrialLog in
Avatar of attila01
attila01

asked on

How to remove a directory?

Hi All,

If I try to remove a directory but I get following error:
rmdir: 0653-611 Directory name.ft is not empty.

Yes, it isn't empty but should I access the directory and delete the files one after another?
Is there perhaps a way delete a directory even if contains files?
Or if I access the directory is there a way to delete the files all at once?
Avatar of Lotok
Lotok
Flag of United Kingdom of Great Britain and Northern Ireland image

try
deltree "c:\etc\etc"

replacing "c:\etc\etc" with the desired directory path.
Avatar of kmotaweh
kmotaweh

one of the unjustified ways to do that is to delete it over the network from another pc , it works to me and it hasn't failed a time
ignore last post, thought you were working in DOS. Half asleep :)
SOLUTION
Avatar of Milleniumaire
Milleniumaire
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi, just wondered if you had managed to easily remove your directory tree.
Avatar of attila01

ASKER

Hi,

Yes, I succeeded to delete the directory.