Hari Krishna Dara wrote: > > > I could always explicitly do a fnamemodify() on each of the files, > > > so it is not a big deal, but I am wondering how efficient > > > fnamemodify() is, if it involves simple string manipulation or OS > > > calls. > > > > Normally relative file names work just fine. If you need a full path > > you can use fnamemodify() in a map() to change it. > > Yes, that is what I am doing. Is fnamemodify() an expensive operation > involving OS calls?
It depends on what you are doing, what the file name is and what system you are on. Mostly for turning a relative name into a full path an OS call is needed. You'll have to try it out. -- Q: What do you call a fish without an eye? A: fsh! Q: What do you call a deer with no eyes? A: no eye deer. Q: What do you call a deer with no eyes and no legs? A: still no eye deer. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///