Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Long Filename truncation 1

Status
Not open for further replies.

AlexmacG

Technical User
Jan 16, 2003
50
GB
Help, if anybody can!..please.

I was trying to install a DVD from an Open University course last night. However it failed to install.

This was traced to XP (Pro SP2) 'seeing' long filenames on the DVD as 8dot3 DOS format. This occurred even when copied to the hard drive (NTFS formatted).

I have inspected the DVD with Linux and sure enough it has the correct long filenames but even lost these when copied to the NTFS partition.

I've tried XPs fsutil to set disable8dot3 to no avail.
The DVD seems fine when installed on another PC (XP home)

Why is this and how can I get acces to the long filenames to install the DVD and let my wife continue her studies. The Open University were baffled!!
 
Did you attempt to copy the DVD and then run it after using fsutil or before, being that fsutil does not change names already on the hard drive? Did that make sense?

Disable 8.3 Name on NTFS Partitions Options

How to Disable the 8.3 Name Creation on NTFS Partitions

Other links refer to this Registry tweak.

Open up the registry editor and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. Create a new DWORD value named NtfsDisable8dot3NameCreation. Set it to 1.

 
Thanks Linney, for the info.

I did run fsutil after the first copy and also then recopied to a new folder.

I could not remember if I had re-booted so I have repeated tonight and checked the value of NtfsDisable8dot3NameCreation and it was set to 1 un current control. I tried copying again with same truncated result (and just in case I was going mad again with it set to 0).

My NFTS c: drive already shows long filenames but under Windows Explorer the DVD show 8.3 formats. Could this be a clue with two actions happening at the same time i.e. a read and write problem?

I was intrigued that the Linux copy with long filenames at source also produced short filenames when files were copied to the NTFS partition. This might indicate it is a function of the partition but it could also be a function of the Linux write - I'll have to investigate that!

If you or anybody else has any ideas they will be most welcome.......
 
Is the DVD a DVD-RW or DVD-R that was created on just another machine and not commercially produced?

When you copy files from DVD (perhaps?) the File Attributes are set to Read-Only and this might, only might, be the reason while Fsutil was not changing the naming convention.

HOW TO: Remove the Read-Only Attribute While You Copy Files from a CD-ROM in Windows 2000 (Q323002)


From a Command prompt use the ATTRIB command.
Displays or changes file attributes.
This command displays, sets, or removes the Read-Only, Archive, System, and Hidden attributes assigned to files or directories.


ArcSet -- Win9x, NT4, Win2K, WinME, XP
If you ever copied files from a CD-ROM to your hard drive, you've probably noticed that those files will be set to read-only, preventing you from modifying them. Removing the read-only attribute by hand can get really tedious, especially if you're looking at hundreds or thousands of files. ArcSet is a utility that does the job for you. It can automatically reset file attributes on specified files on a drive or in a folder, even recursing through subfolders.
 
It was a good idea, Linney, but unfortunately did not make any difference.

I did a work around last night, using another PC (XP home) copied the truncated filesnames to CD and then installed them on my hard drive. Lo and behold long filenames retained and we can now access the data for the tutirial! I'm baffled. How come I can copy OK from the CD and not the DVD? Could it be the DVD's recorded format?

The mystery deepens.........
 
I'm just glad you've got out of jail, and your wife can get back to studying.

I wonder whether it was anything like depth of path when you originally copied from DVD to the first XP Home, how many characters were in the address path to the actual copied DVD files? I really don't know why you had that problem on just one machine?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top