Any way to get script absolute path? Like $0 in ba...
# scripting
i
Any way to get script absolute path? Like $0 in bash
o
I think some hackery around reflection, class loaders, URLClassLoaders, etc. can help
But that would give you binary path, not source path
If you own scripting host, you can pass data into a script.
i
Yes, It's obvious solution to pass script path to script as argument.