in reply to Re: Problem with system ()
in thread Problem with system ()

Sorry, but that's wrong. At least under NT4 (and higher), the following behaviour holds :

S:\Systeme_Projekte\Ism\Maischein>cd S:\Systeme_Projekte\Ism\Maischein S:\Systeme_Projekte\Ism\Maischein>cd c: C:\TEMP S:\Systeme_Projekte\Ism\Maischein>cd c:\winnt S:\Systeme_Projekte\Ism\Maischein>cd S:\Systeme_Projekte\Ism\Maischein S:\Systeme_Projekte\Ism\Maischein>cd c: C:\WINNT S:\Systeme_Projekte\Ism\Maischein>cd /d c:\winnt C:\WINNT>

The cd command without any parameter outputs the "current directory".

The cd drive: command outputs the "current directory of the drive".

The cd drive:\path command changes the "current directory of the drive".

The /d option also changes the current drive.

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web