RE: chdir to parent directory

2002-07-06 Thread T. B. Booher
Yes, you are right. For some reason, there must have been another error in my code. Thanks. Tim -Original Message- From: Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 2:11 PM To: 'T. B. Booher'; [EMAIL PROTECTED] Subject: RE: chdir to parent

Re: chdir to parent directory

2002-07-05 Thread Michael Fowler
On Fri, Jul 05, 2002 at 10:37:10AM -0400, Shishir K. Singh wrote: > >chdir (".."); > > >chdir ("\\.."); > > chdir ('..'); > chdir ('../'); > > Use single quotes. so that special characters are treated as literals. > "." and "\" are special characters. You escaped "\" but not "." .. is not a s

RE: chdir to parent directory

2002-07-05 Thread Timothy Johnson
;; 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: chdi

Re: chdir to parent directory

2002-07-05 Thread Randal L. Schwartz
> "T" == T B Booher <[EMAIL PROTECTED]> writes: T> Hello - I am trying to use ActiveState perl on windows and I am trying T> to figure out how to chdir to a parent directory. I have tried the T> following: T> chdir (".."); This should work just fine. How do you know this one "didn't work

RE: chdir to parent directory

2002-07-05 Thread Shishir K. Singh
>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 ("\\.."); chdir ('..'); chdir ('../'); Use single quotes. so that special characters are treated as literals. "." an

chdir to parent directory

2002-07-05 Thread T. B. Booher
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