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
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