Create 8.3 name for an existing directory

Posted by Chris Karcher on Super User See other posts from Super User or by Chris Karcher
Published on 2010-04-09T19:05:10Z Indexed on 2010/04/09 19:13 UTC
Read the original article Hit count: 347

Filed under:
|

I have a machine that initially had 8.3 filename creation disabled. However, this was causing issues with some legacy software, so it was re-enabled. I'm wondering if it's possible to go back and "add" 8.3 filenames to certain existing directories.

For example, say I have a directory named "C:\name with spaces" and I get the following output when I run "dir /x":

C:\>dir /x
 Volume in drive C has no label.
 Volume Serial Number is 6873-65B8

 Directory of C:\

04/09/2010  01:57 PM    <DIR>                       name with spaces
...

I'd like to somehow add an 8.3 name for the directory without recreating it, and then get the following:

C:\>dir /x
 Volume in drive C has no label.
 Volume Serial Number is 6873-65B8

 Directory of C:\

04/09/2010  01:57 PM    <DIR>          NAMEWI~1     name with spaces
...

I tried the 'rename' command but it didn't do the trick.

© Super User or respective owner

Related posts about ntfs

Related posts about filename