# File lib/pathname2.rb, line 270 def long_path unless @win raise NotImplementedError, "not supported on this platform" end buf = 0.chr * MAXPATH buf[0..self.length-1] = self GetLongPathName(self, buf, buf.length) self.class.new(buf.split(0.chr).first) end