Jump to content




[help] Question about folders/files


  • You cannot reply to this topic
2 replies to this topic

#1 sjele

  • Members
  • 334 posts
  • LocationSomewhere on the planet called earth

Posted 21 September 2012 - 06:03 PM

Hello, and good eavning/morning.
I was working on my private as of now os. Currently only functions are login and a modifyed version of edit that stores info(name) about each edited program in a file. (This is to have a list of programs in a menu, when you log in). Instead of having the modifyed version of edit, can i just do a command to get each file name from a folder? and store them in a table

Thanks

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 22 September 2012 - 12:01 AM

Try using fs.list().

#3 sjele

  • Members
  • 334 posts
  • LocationSomewhere on the planet called earth

Posted 22 September 2012 - 08:39 AM

Thanks.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users