user upload the file of ".doc", ".docx", ".xls", ".xlsx" this format
File Delete Extension by
user upload the file of ".doc", ".docx", ".xls", ".xlsx" this format
File Delete Extension by
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Dec 15, 2013, 11:48 PM EST
Jignesh TrivediRank #16 · 50.3K reputationPosted Dec 16, 2013, 12:41 AM EST
Hi,
you want to delete all file which has particular extension from the folder correct my understanding..
if yes than you can get all file which has particular extension from DirectoryInfo class.
and delete file one by one..
pls refer http://msdn.microsoft.com/en-us/library/8he88b63(v=vs.110).aspx
hope this will help you.