![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | How do I rebuild the 8.3 filenames (shortnames) using Powershell? Hello. We have a CIFS share behind our NAS gateway. The CIFS volume is 2T in size. Recently we had to apply a firmware update to our NAS gateway to resolve an issue we had, but doing so, corrupted the 8.3 Filenames, which some legacy applications use. The only way we have been able to fix this is by renaming a directory and then renaming it back to regenerate the 8.3 folder name hash. I have opened a call with Microsoft, but they don't have a resource tool that can fix the filesystem. Our Unix admins are looking at a script that we received from the NAS vendor, but doesn't work properly. Requirements: Rebuild all long files and folders DOS 8.3 filenames Preserve the Creation date, access time, and modified time stamps Does anyone know how to do this? Thanks, Tim Teller |
| | #2 (permalink) |
| Guest | Re: How do I rebuild the 8.3 filenames (shortnames) using Powershell? Hi Tim: > Rebuild all long files and folders DOS 8.3 filenames > Preserve the Creation date, access time, and modified time stamps Try the following to see some syntax examples: fsutil.exe file setshortname /? This command appears to not change any of the timestamp fields, but you will have to choose the shortname yourself by some other method, e.g., your own 8dot3 function or maybe XCOPY /L /N, etc. Hope this helps! Cheers, Jason ------------------------------------------------------ PowerShell Training at SANS Conferences http://www.WindowsPowerShellTraining.com ------------------------------------------------------ |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| filenames with [ characters | Umesh Thakur | PowerShell | 22 | 12-05-2007 01:28 PM |
| how to rebuild mediaid.bin | Zappy | Vista performance & maintenance | 2 | 11-14-2007 02:26 PM |
| icons rebuild | gln | Vista General | 4 | 10-19-2007 11:25 AM |
| How do I rebuild the 8.3 filenames (shortnames) using Powershell? | tim.teller@gmail.com | PowerShell | 0 | 07-18-2007 05:20 PM |
| WMI Rebuild | Kevin | Vista General | 0 | 04-14-2007 02:38 PM |