dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Mar 21, 2001

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Deleting Files or FileTypes En Masse


Sometimes you run into a situtation where you want to delete all the files or a particular type of file (like text files - *.txt) in a folder. Here is a function to do just that:
 
Private Sub DeleteFilesInFolder(ByVal strFolder As String, Optional
strFileExt As String = 
Matheswaran Narayanasamy
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date