RE: cd the cmd shell from perl (as can be done from bat file)
by David --- Senior Programmer Analyst --- WGO Wagner other posts by this author
Oct 27 2005 4:29PM messages near this date
view in the new Beta List Site
RE: cd the cmd shell from perl (as can be done from bat file)
|
Back-slashes & calling a batch file from perl ???
perl-win32-users-bounces@[...].com wrote:
> Hello,
>
> When a .bat file with just the line:
> cd c:\some\where
> is executed from the Windows cmd shell, then
> when the .bat file terminates, the directory
> of the shell would have changed to c:\some\where.
>
> How do I get the same effect after running a perl script?
>
You can't. YOu are effecting the enviorment of the Perl script and it all goes away when th
e script stops.
Wags ;)
> (See http://www.xs4all.nl/~waterlan/ for a more complex
> shell change directory program.)
>
> Thanks,
>
> --Suresh
>
>
>
> _______________________________________________
> Perl-Win32-Users mailing list
> Perl-Win32-Users@[...].com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Suresh Govindachar
Jan Dubois
Suresh Govindachar
Ken Barker
David --- Senior Programmer Analyst --- WGO Wagner
|