Re: chdir problem

2002-01-27 Thread sachin balsekar
Hi Dhiraj, The Script changes the directory while it is runningtry this... use CWD; $pw=getcwd; this will get u the present working directory after u chdir print getcwd...u'll find its in u r desired area...u could also check if the path exists so as to be sure before chdir... regs, s

Re: chdir problem

2002-01-26 Thread John W. Krahn
Dhiraj P Nilange wrote: > > Hello. Hello, > I have Windows98. I wrote a > small script just to change > directory. > > $a=chdir("bin"); > print $a; > > this script prints 1. So chdir returned > true after success. But in reality > directory is not changed. The directory > named "bin" exists i

chdir problem

2002-01-26 Thread Dhiraj P Nilange
Hello. I have Windows98. I wrote a small script just to change directory. $a=chdir("bin"); print $a; this script prints 1. So chdir returned true after success. But in reality directory is not changed. The directory named "bin" exists in the current directory. Is this problem of portability