From: "nobu (Nobuyoshi Nakada)" Date: 2012-03-25T14:08:57+09:00 Subject: [ruby-core:43599] [ruby-trunk - Feature #3356][Feedback] Add GetShortPathName to ruby Issue #3356 has been updated by nobu (Nobuyoshi Nakada). Status changed from Assigned to Feedback Assignee deleted (nobu (Nobuyoshi Nakada)) Priority changed from Normal to Low What do you mean by "canonical"? It doesn't feel like "canonical" at all. ---------------------------------------- Feature #3356: Add GetShortPathName to ruby https://bugs.ruby-lang.org/issues/3356#change-25095 Author: docwhat (Christian H��ltje) Status: Feedback Priority: Low Assignee: Category: lib Target version: =begin Hi! I use Ruby on windows and it would be really useful to have access to GetShortPathName in ruby. I have a monkey-patch to add Pathname.shortpath (attached) to demonstrate it. Probably realpath, etc. should take this in to account as well, since in windows, only the shortpath is canonical. In addition, the shortpath doesn't need to be escaped, so you can use it with backticks (`), etc. Ciao! =end -- http://bugs.ruby-lang.org/