I'm making a little cinema for my server, and I was wondering if there was a way of running a file in a disk without specifying the filename, so the program will run any file in the disk so I won't have to keep changing the code whenever I want to run a different program. At the moment this is all I have (for running a disk).
shell.run("disk/INSERTFILENAMEHERE")
It's not really a necessary thing to have, I mean I could just rename every program I put in the disk drive to the same name, but if there is a way, I'll be happy.
Thanks in advance.