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
Fragmenter - animated loop machine and IKONOMIKON - the memory game
That should work on Linux or Mac.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
what's your opinion, is it safe to hide folders starting with "." anywhere or just in this folder or i should leave it to the user to sort out this mess of a user folder.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://superuser.com/questions/44812/windows-explorers-file-attribute-column-values
Works on win8+
Fragmenter - animated loop machine and IKONOMIKON - the memory game