Control Panel
Forum
Hosting Help
ASP.NET 4 & SQL 2008 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
New Features
|
Advertise
|
Tutorials
|
Silverlight Tutorials
|
Product Reviews in India
|
Free aptitude test questions
|
TATA Nano Car reviews
Total
members
:
149203
Average new registrations per day (in last 7 days):
122
New Registration:
Open
Register Now
Learn Windows 7:
How to get first Email impression.
This resource gives you a brief idea what to write and what to ignore while writing email.Get good impression.
Want to become a DBA ?
SQL Server 2008 training courses
- by AspSpider team
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:
Tony JOhn (Webmaster)
webmaster - AspSpider.NET
Posted Date: 12/9/2005
http://aspspider.net/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.
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.