Timothy Madden wrote: > Actually there still is. A simple example program shows that > ::GetLongPathName() has this effect, though admittedly it is > not explicitly documented as such.
Thanks! It is a long time since I searched for methods to get the true name of a file, and I did not find that. However, there are reports that GetLongPathName() on its own does not work as it returns the path with the casing that it was given. At the following is a claim that the solution is to call GetShortPathName() and then GetLongPathName(). http://stackoverflow.com/questions/74451/getting-actual-file-name-with-proper-casing-on-windows I don't think adding a "get true name" function to Vim would be a high priority, but it would be useful with plugins like MRU (Most Recently Used): http://www.vim.org/scripts/script.php?script_id=521 A small issue with that plugin is that because it is (correctly) case sensitive, it is easy to end up with several different spellings of the same path name on Windows, depending on exactly what was used to edit a particular file. It would be nice if a plugin could determine the "true name" for a particular file. John -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
