Discussion Locked

copying long file names in Windows 95 in

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Does any know where I can find a copy utility to copy long file names for Windows 95 when booting from a DOS diskette?

16 replies

by duong beo

Hi,

You can copy windows' files from DOS command by using the normal COPY command of DOS (even when you boot from a DOS diskette) too.
eg:
copy C:\Mydocu~1\test.txt a:
In DOS mode, all the long file name are made shorter by the way of DOS. It keeps first 6 character, then a "~" sign and the last character is the order number. For example, in that directory you have more than 1 file have the same first 6 characters then they will be numberred 1, 2, 3..... If more than 9 file are the same then DOS will keep only first 5 characters.
The sticky is that you may not recognize the needed file. However, you may use it for simple cases.
I have created a such tool about 3 years ago but I have soon found out that it was not very useful. If you like, I'll find it and send you. However, you should give out your email address.

Good luck,

Duong beo (Ngo_The_Doung@mail.ryoyu.co.jp)

by lk

try xcopy32 -- provided by Microsoft with Windows98 (and probably 95, but I don't have a 95 PC here to check).

by chipmunk

It is not possible, DOS only reconize up to 8 charters plus up to 3 extences
Sorry to tell you this.

Alvin

by lo

Yup, enclose in quotes.

If the path includes long file names, include the whole thing in quotes, i.e.
"C:\Program Files\Netscape\longfilename.extension". I haven't tried this
on 95/98 but it work same/similar on Win NT (which is only dos v5 orso
I think). I have done CD with a quoted path.

lo

by asecret

If you are dealing with a file with an existing LFN then both the solutions above will work. LFN's by default have to file names, the one you see in windows and one for DOS 8.3 structure compatability (eg this is a LFN.TMP would be thisis~1.TMP in DOS).
Placing the directory in "" will work too in both Win95 and 98.
However if you are creating a file in DOS you are restricted to using the 8.3 structure.

Hope that helps you

by pcmeng

I came up with my own solution. I used a DOS boot disk to connect to the network. I used ghost to copy the entire hard drive up to the network. This keeps the long file names. Then, I used Ghost explorer to open the Ghost image and extract what I needed. Thanks anyway guys.

This discussion is closed to new replies.