Use the Cwd module to confirm where you are...my guess is that you're ok. Check this snippet out. Worked on my win2k machine. Remember that the *script* will change directories. When it exits you'll be back where you started.
########################### use Cwd; use strict; my $dir=getcwd; print "current dir: $dir\n"; #prints c:/path/$dir chdir("perl_crap"); # relative to where I am now. my $newdir=getcwd; print "Current dir: $newdir \n"; #prints c:/path/$dir/$newdir #################################### HTH, Matt --- Dhiraj P Nilange <[EMAIL PROTECTED]> 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] > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]