I want to rename longnames properly so I "transcode" DOS names to
LongNameSpace and Rename it in target Namespace. How to check before
Rename if target Longname is not occupied by another file in
longnamespace? (the dir-path to file I have is DOS-path).
Regards,
T.
I'm not a CLIB expert so cant name a function but look for one that returns
information about the file and use that. If using the X-plat APIs I'd use
NWGetNSEntryInfo. The other possibility is to simply try to rename the file
and you should get a specific error back if the rename fails because the
name is already in use.
John