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

How to search for a file.

Started by TNT_Nolan, 14 April 2016 - 08:22 PM
TNT_Nolan #1
Posted 14 April 2016 - 10:22 PM
I was wondering how I can make a program to look for a file and give me the names. For example theres a directory called DATA. I want to see all the folders in there and make it in to an array.
KingofGamesYami #2
Posted 14 April 2016 - 10:39 PM
http://www.computercraft.info/wiki/Fs.list
http://www.computercraft.info/wiki/Fs.isDir