Hi Dhiraj,

The Script changes the directory while it is running....try 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,
sachin balsekar.


Dhiraj P Nilange wrote:

>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 ? if yes what
>other function should I use? by the way
>I am using Active
>
>Thanks
>-Dhiraj
>
>
> 
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to