Posted 11 October 2015 - 12:15 AM
In a program how can I find the directory that the file being executed is in?
>ls test
file1.lua file2.lua
>test/file2.lua
Current Dir: test/
>
>
>ls test
file1.lua file2.lua
>test/file2.lua
Current Dir: test/
>
>
Edited on 10 October 2015 - 10:15 PM