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

traversing a folder and opening each file...

$
0
0
Hi everyone,

I'm absolutely new to VB, so apologies for asking something that is not possible or not suggested.

Issue:
I have a folder with numerous txt files that total about 300+. The issue is that a few of them have shown to be invalid when you open them up.
Of course, once I find an invalid file, I can simply delete it. but, is there a way in VB to open the folder, and call each file in succession by an notepad, and then when I close notepad, it opens up the next one?


thanks --

Viewing all articles
Browse latest Browse all 21246

Trending Articles



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