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>
| [reply] |
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?
| [reply] |
$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>
| [reply] [d/l] |