Jump to content
Sign in to follow this  
Abilio_KID

Finding files in subfolders

Recommended Posts

Abilio_KID

I'm trying to make a small app to read some filetype in a folder, including subfolders

FileFindFirstFile ( "*.ext" ) only works at current folder. The other way to do it would be using the DOS dir command to send all filenames to a TXT file and then read it from there. My problem with this is that in my Windows 2000 some files get different names when seen in the TXT files. Something like this:

Aplicação.ext becomes Aplica‡Æo.ext. I'm not even sure you can read the difference.

Anyway to go around this problem? The OS is portuguese and I have some files like this.

Share this post


Link to post
Share on other sites
Abilio_KID

Thanks. I tried to read all of the code but got lost in the middle :huh2:. I do however know how it works and simply copied it and changed the root folder to reflect my app. :D

Share this post


Link to post
Share on other sites
tutor2000

Thanks. I tried to read all of the code but got lost in the middle :huh2:. I do however know how it works and simply copied it and changed the root folder to reflect my app. :D

The joys of copy paste

It's how I learned a lot

Rick


Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.