Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

http://technet.microsoft.com/en-us/library/bb490642.aspx:

 fsutil file setshortname <PathName> <shortname>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.