Click here to Skip to main content
15,883,929 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In system, when we create the new folder it will generate new shortname for that folder(This shortname not shown, for see it run command on cmd dir /x), when short name creation is enable.

But when shortname creation is disable in system then after creation of folder system doesn't define shortname for this folder, it should remain empty. so at this time how to create new short name for this folder.

For enable/disable shortname creation:
fsutil.exe behavior set disable8dot3 1 - disable
fsutil.exe behavior set disable8dot3 0 - enable
Posted

1 solution

You cannot disable 8.3 name creation, you can only disable the creation of files and folder that don't match the 8.3 format. e. g. if you are on the command prompt and enable 8.3 mode, then create a file or folder with a long name, the file/folder will instead be created using the 8.3 format short name. If you disable 8.3 mode, the file/folder will use the original, long name that you entered, but in 8.3 mode it will be displayed with the short name instead.

Background:
MS-DOS, the predecessor of Windows, did not support names with a base of more than 8 chars and suffix more than 3 chars. To ensure backward compatibility with MS-DOS-based programs, Windows automatically converts any name not fitting the 8.3 format into a short name that is in 8.3 format.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900