Subj : Re: FPC snippet. To : j b l From : Will Vincent Date : Fri Jan 27 2017 18:24:37 Is there any reason you're not wanting to use the Rename procedure that's part of the fpc system library? www.freepascal.org/docs-html/rtl/system/rename.html One problem with your code is that it would depend on a *nix style operating system, and that the 'mv' command is available at your specified path. Obviously that makes your code less portable. That might not matter, but if it's potentially a concern it's worth noting. --- Mystic BBS v1.12 A31 (Windows) * Origin: Agency BBS | telnet://agency.bbs.geek.nz (3:770/100) .