Subj : "On the Fly" Hex-numb conversion ... ??? To : Jasen Betts From : Gerald Miller Date : Wed Mar 06 2002 12:48 am Hello Jasen, On Tuesday March 05 2002 at 07:02, Jasen Betts [3:640/531.42] wrote to Gerald Miller, about: "On the Fly" Hex-numb conversion ... ??? GM>> I just checked my %INC directory and the only file that came GM>> "close" to violating 0000????.* was 00GLOBAL.ZIP, so I guess that GM>> I have to consider the possibility of receiving a 0000WHAT.*, GM>> 0000EVER.*, or 0000TEXT.* file (etc.).... JB> you could use 0000[0-9A-F][0-9A-F][0-9A-F][0-9A-F].* I could. I did. It worked quite well (but of course, you already knew that!). This is exactly what I was looking for! Thank you. Is it possible that you can suggest a method to replace the ``.*'' 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 to handle the "valid" file extensions? I've tried variations of: set de=%@substr[.su%dn;.mo%dn;..... but I keep getting "File not found" error with the contents of the ss line after the filename..... Cheers ... Gerald --- * Origin: At this point, chocolate is a viable alternative. (1:342/512) .