listing and deleting files in a particular folder

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top