From: "mame (Yusuke Endoh)" Date: 2012-11-20T21:35:02+09:00 Subject: [ruby-core:49709] [ruby-trunk - Feature #3356] Add GetShortPathName to ruby Issue #3356 has been updated by mame (Yusuke Endoh). Target version set to next minor ---------------------------------------- Feature #3356: Add GetShortPathName to ruby https://bugs.ruby-lang.org/issues/3356#change-33236 Author: docwhat (Christian H��ltje) Status: Feedback Priority: Low Assignee: Category: lib Target version: next minor =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/