in reply to Re: problem with mounted share (MS Windows)
in thread problem with mounted share (MS Windows)

Probably because Tk doesn't understand UNC pathnames.

Or, rather, it Tk requires to use \\ instead of // in UNC pathes? Did you try to replace the forward slashes by backslashes?

-- 
Ronald Fischer <ynnor@mm.st>
  • Comment on Re^2: problem with mounted share (MS Windows)

Replies are listed 'Best First'.
Re^3: problem with mounted share (MS Windows)
by momo33 (Beadle) on Sep 26, 2008 at 06:06 UTC
    I tried replacing / by \, but this is very tricky. It caused more problems than it solved.

    The path is provided by getcwd. Can I convert this into something Tk allways handles correctly?
      I tried replacing / by \, but this is very tricky.

      Why tricky? You just need to do a

      $dirname =~ tr(/)(\\);
      I think this test is important, because at the moment, we still *guess* that UNC pathes with forward slashes are the problem, but we don't know for sure.

      You could just write a tiny example program and try out various styles for specifying a path to Tk functions...

      -- 
      Ronald Fischer <ynnor@mm.st>