Glenn Linderman wrote: > On approximately 4/19/2005 8:57 AM, came the following characters from > the keyboard of $Bill Luebkert: ... > cd /? > > tells about the cd /d option... which changes drives as well as paths... > > And yes, that doesn't work on all versions of windows, but neither does > "for /F"...
Good catch - I don't play with batch files or cmd much, but that works: @echo off for /F "usebackq delims=?" %%I in (`perl E:\home\dbe\foo\fo.pl %1`) do cd /d %%I -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs