> @REM make a copy of the original source with the extention > .ASM > MOVE %3 %~n3.ASM That seems to risk having your original file vanish mid stream if things crash or are interrupted for any reason. It's there but you have to rename it. Why not use a copy instead with delete at the end if desired? Russell -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist