in reply to rename files
Note the quotes. Does that do it?
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
One world, one people
Erm, since they actually did remember to put error checking on the opendir call that would catch that case.
Results (281 votes). Check out past polls.