<?xml version="1.0" encoding="windows-1252"?>
<node id="83733" title="chdir does not work on win2000" created="2001-05-28 15:11:29" updated="2005-07-21 01:27:06">
<type id="115">
perlquestion</type>
<author id="53018">
juo</author>
<data>
<field name="doctext">
&lt;text&gt;
Perl Version 5.
When I use the chdir function on windows2000 it does not seem to work. I also tried the parameter -initialdir and it also does not work. When I use it on Winnt it works without any problem. Any clues ?
&lt;text&gt;
&lt;code&gt;
my $_pwd = getcwd();
chdir("c:\\tmp") or print STDERR "\n\tERROR in chdir: $!\n";
$file = $w-&gt;getOpenFile(-filetypes =&gt; \@types);
&lt;code&gt;</field>
</data>
</node>
