Subj : Another exercise ... ??? To : Gerald Miller From : Jasen Betts Date : Tue Aug 20 2002 06:30 pm Hi Gerald. 17-Aug-02 10:39:29, Gerald Miller wrote to Renato Zambon GM> I'm seeking a method to extract the various path components..... GM> PATH=D:\4DOS;C:\4D\4B;C:\4D\4X;C:\DOS;C:\DO;C:\DO\C;C:\DO\%= GM> X;C:\NU;C:\NC;C:\UTIL;C:\QE3;C:\U;C:\SHZ;C:\CLK;C:\NC3 maybe just use %@locate or with command.com you can do for %%x in (%path%) etc... but this doesn't work with 4dos, however you can do this: for x in ( %@replace[;, ,%path ] ) ... -=> Bye <=- --- * Origin: Tomorrow will be canceled due to lack of interest. (3:640/531.42) .