Subj : "On the Fly" Hex-numb conversion ... ??? To : Jasen Betts From : Gerald Miller Date : Wed Mar 06 2002 08:48 am From: Gerald.Miller@f512.n342.z1.cereal.mv.com (Gerald Miller) Subject: "On the Fly" Hex-numb conversion ... ??? 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 -- |Fidonet: Gerald Miller 1:342/512 | | Origin: The Cereal Port BBS (603)899-3335 199.125.78.133 (1:132/152) --- # Origin: (1:132/152.4) * Origin: Baddog BBS (1:218/903) .