| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | C++ |
>> Basicly I want a listing of all the directories in the current path >> or in a specified path, to see if they match the desired criteria. >> I have tried the findfirst() findnext() but cant seem to seperate the >> files from the directories, I suspect that its possable but I am >> having difficulty here. > > There is an attribute which determines which entries are or are not > directories. > > See if you can find a file called "SNIP9304.ZIP". It contains a > fairly portable (under MSDOS at least) version of a function which > does a recursive directory search. Thanks david for your assistance, would you or anybody have some good tips or code for wildcards eg user enters first letter of dir to go to I know know the directorys available does user arg match existing directorys that sort of thing. --- TMail v1.31.5* Origin: MultiLine 40+Lines 43 CDRoms & Internet +619 370-3333 (3:690/254) SEEN-BY: 50/99 54/54 620/243 623/630 640/820 690/115 245 254 380 500 660 676 SEEN-BY: 711/401 409 410 430 510 807 808 809 810 932 934 942 712/515 713/888 SEEN-BY: 714/906 800/1 @PATH: 690/254 660 711/409 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.