Do I really need to list all the files in a directory, then find it in the array and then get the file size? Seems a bit bonkers.
I've already got the file name as the result of an 'answer' command, can't I do something like :
Code: Select all
put the filesize of tFile into tSize