http://www.perlmonks.org?node_id=678425


in reply to Re: Tk getOpenFile, can't get -initialdir to work
in thread Tk getOpenFile, can't get -initialdir to work

I was taking my input from the chooseDirectory widget.
chooseDirectory always uses forward slashes on xp.
Passing its response through File::Spec->canonpath seems to do the trick.
thanks.
  • Comment on Re^2: Tk getOpenFile, can't get -initialdir to work