This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Sxw's profile picture

Current File

Started by Sxw, 02 August 2012 - 03:40 AM
Sxw #1
Posted 02 August 2012 - 05:40 AM
Is it possible to get the location of the file that is being ran? Sorry if this is vauge.
Lyqyd #2
Posted 02 August 2012 - 05:47 AM
shell.getRunningProgram()
ChiknNuggets #3
Posted 02 August 2012 - 05:47 AM
this is actually quite easy there is a function for this in the shell API,


shell.getRunningProgram()
Sxw #4
Posted 02 August 2012 - 05:49 AM
Wow, quick reply, THANKS!