Skip navigation.
 
mlRenaming long volume name in carbon...
FROM : Marek Kozubal
DATE : Thu Nov 21 13:27:01 2002

Hello!

I am trying to rename a volume that has a more than 27/31 character name
on it and for the life of me cannot figure out how to do it.

HRename works fine if the name is < 32 but gives a Bad Name Error when
renaming using a longer name.  I cannot find any API functions that take
the HFSUniStr255 data type as a rename that also works on volumes.

FSRenameUnicode only works on folders and files.

FSSetVolumeInfo does not have a field of any sort for a new filename.

So what is the proper way of renaming long volume names in carbon?

Thanks in advance.

---
Marek Kozubal
<email_removed>



Related mailsAuthorDate
No related mails found.