Robert Davis wrote:
> I am using win32:SetCwd and it sets the current working 
> directory for the life of the perl program.

So should chdir(), which is built into Perl.

> How do I make that change permanent so that once I exit the 
> directory is changed?

perldoc -q "changed directory"

> The real reason for asking this is that I am tired of using 
> backslashes for "cd" only.
> I use "ls" and all of the other unix utils but I dont have a 
> replacement for "cd".
> So I was going to write one in perl.

The only way to make a replacement for cd is to replace your shell. If you
use bash or tcsh, you should be able to use slashes.

Hint: there's no CD.EXE CD.COM CD.BAT CD.CMD on your disk.

Cheers,
Philip
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to