>>if( (s_current.compare(struct_filedata.name) && s_parrent.compare(struct_filedata.name)) )
use || operator instead of && because it can't be both at the same time.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.