EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Is MaximumComponentNameLength in FILE_FS_ATTRIBUTE_INFORMATION fixed

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#12006
Posted: 12/29/2009 22:54:35
by Mezeo Support (Basic support level)
Joined: 12/29/2009
Posts: 40

I observed MaximumComponentNameLength in FILE_FS_ATTRIBUTE_INFORMATION ( type of volume information - IRP_MJ_QUERY_VOLUME_INFORMATION) fixed to 32767 and there is no callback/method which can modify the same. Correct me if I am wrong.
Also, Is there any provision to handle short file names (8.3 aliases to long file name) ?
#12008
Posted: 12/30/2009 02:02:00
by Volodymyr Zinin (EldoS Corp.)

Hello Mayur,

Quote
Mayur Thigale wrote:
I observed MaximumComponentNameLength in FILE_FS_ATTRIBUTE_INFORMATION ( type of volume information - IRP_MJ_QUERY_VOLUME_INFORMATION) fixed to 32767 and there is no callback/method which can modify the same. Correct me if I am wrong.

Yes, you are right. But in the CallbackFS ver.3 (which will be release shortly) it will be possible to change this feature.

Quote
Mayur Thigale wrote:
Also, Is there any provision to handle short file names (8.3 aliases to long file name) ?

This feature also will be in the CallbackFS ver.3 (it has already been implemented there).
#12009
Posted: 12/30/2009 02:15:58
by Mezeo Support (Basic support level)
Joined: 12/29/2009
Posts: 40

Thanks a lot.
#32300
Posted: 02/20/2015 07:52:47
by Taha HADJSAID (Basic support level)
Joined: 02/20/2015
Posts: 2

Hi,

I'am using CBFS version 5.0, I enabled supporting of shortfileName but I still can't create folders which having path more thans 260 characters.

Any help

Taha
#32302
Posted: 02/20/2015 08:05:30
by Volodymyr Zinin (EldoS Corp.)

In order to support more than 260 characters it isn't necessary to enable supporting of shortfileName. Set CallbackFileSystem.MaxFileNameLength and CallbackFileSystem.MaxFilePathLength properties to be, for example, 32767.
But note that many programs doesn't support file names that are longer than 260 characters. As I remember in Explorer you can't create file or directory with name more than this character limit.
Also programmatically with Win32 API it's possible to create such long names only if you use prefix "\\?\". For details see https://msdn.microsoft.com/de-de/libra...85%29.aspx
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 3002 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!