Subj : "On the Fly" Hex-numb conversion ... ??? To : Gerald Miller From : Jasen Betts Date : Thu Mar 07 2002 10:11 pm Hi Gerald. 06-Mar-02 08:48:42, Gerald Miller wrote to Jasen Betts JB>> you could use 0000[0-9A-F][0-9A-F][0-9A-F][0-9A-F].* GM> Is it possible that you can suggest a method to replace the GM> ``.*'' using Rolf Jentsch suggestion (or something similar): RJ>> set dx=[0-9] RJ>> set ss=.su%dx;.mo%dx;.tu%dx;.we%dx;.th%dx;.fr%dx;.sa%dx GM> to handle the "valid" file extensions? the only way I can see to combine them is to use a for loop. or a single expresion for each weekday. trying to put a full ; list into a variable crashed 4dos. set f= for x in (su mo tu we th fr sa) do %= if exist 0000[0-9A-F][0-9A-F][0-9A-F][0-9A-F].%x[0-9] ( dir /km 0000[0-9A-F][0-9A-F][0-9A-F][0-9A-F].%x[0-9] >> logfile set f=yes ) iff "%f"="yes" then echo unknown system(s) >> logfile etc... endiff GM> but I keep getting "File not found" error with the contents of GM> the ss line after the filename..... I can't see how it's supposed to work... the list only has extensions, nothing for the name... -=> Bye <=- --- * Origin: Hummingbirds never remember the words to songs. (3:640/531.42) .