in reply to Changing data in a directory

I can't quite see what you're doing, but I can point out a few errors.


I've not messed about with opendir() so I'm going to steer clear of that.

Cheers.

BazB.

Update: Looks like rdfield and dws have it cracked.
Looks like the use of opendir() was incorrect.
I'll leave this node here, since the advice is still valid.