Control Panel
Forum
Hosting Help
6 Months free Hosting (New!)
Resources
Login
Members
Shared Hosting
|
New Features
|
Advertise
|
Tutorials
|
Product Reviews in India
|
Free aptitude test questions
|
TATA Nano Car reviews
Total
members
:
76939
Average new registrations per day (in last 7 days):
82
New Registration:
Open
Register Now
Home
»
Questions & Answers
»
Delete a whole directory
Delete a whole directory
12/9/2005
Author:
tanmy
/tanmy
Hacked
hi admins,
It would be better for us to delete a whole directory no matter whether it still has sub-directorys or files inside... So far, it is a little bit inconvenience to do so.
Is it possible?
Answers .............
Author:
Manoj Aggarwal
Indus Valley Partners
Posted Date: 12/9/2005
Hope this works...
use System.IO.Directory.Delete(UrDirectoryPath,True)
Regards,
Manoj Aggarwal.
Author:
Webmaster
webmaster - AspSpider.NET
Posted Date: 12/9/2005
http://aspspider.info/manjaly
My Beta site
Thanks for the suggestion. We have implemented it. Now you can delete the entire folder even if it is not emoty.
Author:
tanmy
Posted Date: 12/9/2005
/tanmy
Hacked
Yeah!
It is perfect now! very quick response...
thanks a lot admins and manoj
You must
login
to post answer for this question.
Partners
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies.
All Rights Reserved.