It looks like you're new here. If you want to get involved, click one of these buttons!
local disks = {} for i = 65, 90 do local letter = string.char(i) local att = lfs.attributes(letter..":/.") if att then local data={} data.name=letter..":" table.insert(disks, data) end end rootnames=(#disks > 0 and disks) return rootnames |
Comments
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
what would be the way to access the current user folder through lfs?
i tried
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game