# Scan folder / fileIO

**URL:** https://forum.kirupa.com/t/scan-folder-fileio/181947
**Category:** Uncategorized
**Created:** [March 14, 2006, 2:38pm UTC](https://forum.kirupa.com/t/scan-folder-fileio/181947 "2006-03-14T14:38:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joene](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@joene](https://forum.kirupa.com/u/joene)
#### Post date: [March 14, 2006, 2:38pm UTC](https://forum.kirupa.com/t/scan-folder-fileio/181947/1 "2006-03-14T14:38:57Z")

</div>

Hi,

I have to make en interactive CD / DVD for a client. What he wants is:  
[LIST]  
[_]Scan a folder for subfolders and files.  
[_]When the CD boots, display the contents of the rootfolder  
[_]When the user clicks on a folder, it “opens” and the contents of the subfolder appear.  
[_]and so on.  
[_]When a file is clicked (powerpoints, pdf’s, etc) it should open for viewing and/or editing.[/LIST]As I want to do it in Flash, I’ve got a MAJOR problem, i.e. file I/O.  
[LIST]  
[_]As far as I know, you can’t access files or folders through AS, which I seriously hate right now.  
[_]I can scan a folder with JSFL, but then they have to have Flash.  
[_]fscommand() sucks, since it can’t open files.[/LIST]So if anybody knows a way to look into folders, please let me know. It’s very much appreciated.
