How to recreate short file names “Program Files” has no short filename!
#1
Posted 26 November 2012 - 11:39 AM
#2
Posted 26 November 2012 - 11:49 AM
Phenomic, on 26 November 2012 - 11:39 AM, said:
What is the output of
DIR /X
?
Is it a NTFS filesystem?
What is the content of HKLM\\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation (if any?)
http://support.micro...kb/210638/en-us
jaclaz
#3
Posted 26 November 2012 - 12:05 PM
#4
Posted 26 November 2012 - 12:20 PM
Phenomic, on 26 November 2012 - 12:05 PM, said:
Hmmm.
- What EXACTLY have you attempted in the RC?
- Can you try with a more "complete" environment such as a PE?
- Have you tried renaming including a "forbidden" char in the filename?
http://support.micro...kb/142982/en-us - Have you tried using Unlocker (or a similar tool) to allow the renaming in the "fully booted" OS? (beware, risk of crash
)
http://www.softpedia.../Unlocker.shtml - How EXACTLY were the filenames destroyed?
- Do the short filenames appear for newly made files/directories in the running system?
In the worst case you can still manually hex-write them with a tool like DMDE. (you will need to know where your towel is )
jaclaz
This post has been edited by jaclaz: 26 November 2012 - 12:45 PM
#5
Posted 26 November 2012 - 12:29 PM
I thought renaming to something else and back would re-create the SFNs.
#6
Posted 26 November 2012 - 12:46 PM
Right now we have ONLY 1/6th of the answers (not counting the unanswered questions in the previous post) :
Phenomic, on 26 November 2012 - 12:29 PM, said:
jaclaz
This post has been edited by jaclaz: 26 November 2012 - 12:47 PM
#7
Posted 26 November 2012 - 01:36 PM
I don't have PE, new SFNs work fine now, I'm just surprised that chkdsk doesn't fix it.
#8
Posted 26 November 2012 - 01:43 PM
jaclaz, on 26 November 2012 - 12:46 PM, said:
Right now we have ONLY 1/6th of the answers (not counting the unanswered questions in the previous post) :
Phenomic, on 26 November 2012 - 12:29 PM, said:
jaclaz
I ran the following batch in recovery console. So renaming doesn't generate SFNs!?
set AllowAllPaths = True ren "Documents and Settings" "Documents and Settings1" ren "Program Files" "Program Files1" ren "Documents and Settings1" "Documents and Settings" ren "Program Files1" "Program Files"
#9
Posted 26 November 2012 - 01:52 PM
Phenomic, on 26 November 2012 - 01:36 PM, said:
But you didn't ask for answers or tools, you asked for ideas instead:
Phenomic, on 26 November 2012 - 11:39 AM, said:
anyway a suitable tool has been suggested, DMDE:
http://softdm.com/
(and yes, I know that next post will be asking an "automagic" tool capable of fixing those names
Maybe fsutil would do:
http://www.microsoft...e.mspx?mfr=true
Quote
fsutil file setshortname C:\longfilename.txt longfile.txt
cannot say if it works on dirctories as well
jaclaz
#10
Posted 26 November 2012 - 03:27 PM
fsutil file setshortname "C:\Program Files" C:\PROGRA~1
Error: Access is denied.



Help

Back to top









