Like we have some scripts to find eclipse installed location as {workspace_loc}. I've tried with some more syntax but none of them show me a way.
I found myself a way to locate user directory using environment variables
substitute-variables "${system_property:user.home}"
Above code is locating user directory.