listing and deleting files in a particular folder

  • Thread starter Thread starter Southern at Heart
  • Start date Start date
S

Southern at Heart

If the user has chosen a folder, strFolderLocation
How can I loop through this folder and asign all the files with the
extension .gpx to the arrary myArray()? Then I can list them in a messege
box and ask the user to confirm deletion.
How do I then delete the files myArray() in the folder strFolderLocation?
Hope this isn't too hard. Or maybe someone knows a better/simpler way to do
this...
thanks,
sothernatheart
 
Back
Top