BBS: Inland Empire Archive Date: 06-10-93 (00:43) Number: 265 From: TIM BENNETT Refer#: NONE To: EVANS MARTIN Recvd: NO Subj: Re: DIRS Conf: (2) Quik_Bas
{Originally 06-08-93 11:00} {Quoting Evans Martin to Bennett Hendry} {Subject :Re: DIRS} -=> Quoting Bennett Hendry to All <=- BH> Hi! BH> BH> Does anybody know of a good way to read directories from a disk into a BH> variable? (like an array, perhaps?) I want to write a recursive BH> routine to remove an entire directory branch, with full BH> sub-directories, but I can't get the directory names into a variable BH> in order to work with them. ANY ideas would be appreciated. BH> Thanks! EM> Meeee Toooo! Send me some source if you find it. EM> Thanks, EM> Evans Martin The following 3 messages will read a directory into an array for you. Each line will have the file name, size, and creation time and date. You should be able to parse the file name out easily. ... To err is human, to forgive is against company policy. --- GEcho/beta * Origin: Home - FalconWorks SoftWare - Mail Only (1:362/466.0)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET