Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / List every folder on computer function

Author
Message
NathanF
20
Years of Service
User Offline
Joined: 24th Mar 2004
Location:
Posted: 7th Apr 2004 10:34
Hi all!
This is a simple function I made that lists every folder in the computer, and puts them into the arrays sorted by they're level.
Five levels max: folders1$(lev1),folders2$(lev2),folders3$(lev3), and so on... all the way up to 5. It's pretty hard to explain in detail, but try it and you'll understand. It'll create a file named "files.seph" in C:\, just open it in notepad to see.
dont input levels too high, because its actually just making the arrays larger, and yeah, slow down heaps. Anyways, I've said enough, here's the code...



Current Project: DarkEssence, an Action/RPG style game.

Login to post a reply

Server time is: 2024-05-12 20:38:50
Your offset time is: 2024-05-12 20:38:50