This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
sjele's profile picture

[help] Question about folders/files

Started by sjele, 21 September 2012 - 05:03 PM
sjele #1
Posted 21 September 2012 - 07:03 PM
Hello, and good eavning/morning.
I was working on my private as of now os. Currently only functions are login and a modifyed version of edit that stores info(name) about each edited program in a file. (This is to have a list of programs in a menu, when you log in). Instead of having the modifyed version of edit, can i just do a command to get each file name from a folder? and store them in a table

Thanks
Lyqyd #2
Posted 22 September 2012 - 01:01 AM
Try using fs.list().
sjele #3
Posted 22 September 2012 - 09:39 AM
Thanks.