Login | Register   
Twitter
RSS Feed
Download our iPhone app
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 20, 2001

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