This is a read-only snapshot of
the ComputerCraft forums
, taken in April 2020.
ComputerCraft
→
Ask a Pro
How to search for a file.
Started by TNT_Nolan, 14 April 2016 - 08:22 PM
TNT_Nolan
#1
35 posts
Location
United States of America
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
3057 posts
Location
United States of America
Posted 14 April 2016 - 10:39 PM
http://www.computercraft.info/wiki/Fs.list
http://www.computercraft.info/wiki/Fs.isDir