[m-users.] Path independence?
jfischer at opturion.com
Sat Jul 27 04:14:39 AEST 2013
On Fri, 26 Jul 2013, Mark Green wrote:
> Thanks for your reply. Is there a particular reason why it's done this
> way? Eg, why it couldn't be changed to `dirname $0` on bash or %~dp0
> in Windows to calculate the path relative to where the mmc/mercury
> script is running from?
I think that the paths involved need to absolute, which `dirname $0`
won't necessarily be. Using %~dp0 to caculate the paths in a batch file
should be fine though.
> Is there any security or similar issue involved in this?
Not that I am aware of.
More information about the users