Posted 07 August 2012 - 03:02 AM
is there a way to read all the files of a certain type in a directory and send the information over the rednet
local Listing = fs.list(<PATH>)
If you then iterate through the Listing, checking if the entry is a file or dir, you can detect alle Files in that dir.
local tEnv = {}
os.run(tEnv, <PATH>)
-- Get a Var with name <NAME>
local Var = tEnv[<NAME>]
pcall(os.run, tEnv, <PATH>)