Probably not since, aside from not checking the return status from rename, the pathnames still aren't being adjusted relative to the base directory they passed opendir.
--
We're looking for people in ATL
In reply to Re^2: rename files
by Fletch
in thread rename files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |