Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

Is there a simple way to delete all textfiles in a directory, but keep the directory?

$
0
0
Hi there everyone! I am working on a prog to save students work for later review. Basically all of their work is saved in text files in a folder called studentwork. I was wondering if after a while if there was a simple way to delete all of the files in the directory, but keep the directory. The only thing in the directory would be text files.

Thank you so much!! :D

Viewing all articles
Browse latest Browse all 21243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>