From: "mame (Yusuke Endoh)" Date: 2012-03-25T14:06:15+09:00 Subject: [ruby-core:43598] [ruby-trunk - Feature #3356][Assigned] Add GetShortPathName to ruby Issue #3356 has been updated by mame (Yusuke Endoh). Description updated Status changed from Open to Assigned Assignee set to nobu (Nobuyoshi Nakada) ---------------------------------------- Feature #3356: Add GetShortPathName to ruby https://bugs.ruby-lang.org/issues/3356#change-25094 Author: docwhat (Christian H��ltje) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) 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/