ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-users
perl-win32-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved