Actually it does work. Try the following snippet of code. You will see that it prints out the files in c:/program files and then changes back to your c:/ directory. (you might want to try a smaller directory, but I wanted to choose one that I knew you had).
chdir "c:/program files"; opendir(DIR,"."); print(readdir DIR); print "\n\n"; chdir ".."; opendir(DIR,"."); print(readdir DIR); -----Original Message----- From: T. B. Booher [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 7:27 AM To: [EMAIL PROTECTED] Subject: chdir to parent directory Hello - I am trying to use ActiveState perl on windows and I am trying to figure out how to chdir to a parent directory. I have tried the following: chdir (".."); chdir ("\\.."); but no avail. Any ideas? tim -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]