[email protected] schrieb:
> I wrote the multi-platform vim plugin for AccuRev... one of the users
> on Windows platform found that the internal getcwd() call will return
> a subst path (e.g. returns P:\baz, when P: --> C:\foo\bar). The
> plugin does some path matching for validation that expects the
> original true path.
>
> Is it possible within vimscript to resolve the truename of a path?
>
> thanks! - dave
Pretty sure there is no builtin function to get the "true" path.
But you can check the output of subst
:echo system('subst')
You can also check if the subst program is available:
:echo executable('subst')
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---