Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!usc!chaph.usc.edu!usc.edu!news From: news@usc.edu Newsgroups: comp.lang.perl Subject: Re: MS-DOS version questions Message-ID: <11982@chaph.usc.edu> Date: 16 Sep 90 03:10:50 GMT References: <9821@pogo.WV.TEK.COM> Sender: news@chaph.usc.edu Reply-To: raulmill@usc.edu Organization: University of Southern California, Los Angeles, CA Lines: 13 Nntp-Posting-Host: alcor.usc.edu In-reply-to: andyd@pogo.WV.TEK.COM's message of 14 Sep 90 16:42:20 GMT Originator: news@alcor.usc.edu In article <9821@pogo.WV.TEK.COM> andyd@pogo.WV.TEK.COM (Andy Davidson) writes: Is there a way in the MS-DOS version of perl to 1. chdir to another drive? If I do chdir("d:/stuff") || die "Couldn't chdir: $!"; I get no error, but neither does the chdir take effect. Um, I don't have an msdos perl workin, but come on!! You know that chdir on messydos is independent of the default drive.... try following the above line with something like system("d:") || die "Couldn't switch drives: $!";