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 pcmeng
by duong beo
Sorry, I had mistake in answer #1. It is not really the DOS mode.
Very sorry,
Duong beo
by pcmeng
by lk
by pcmeng
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 pcmeng
enclose the filename in quotes
COPY "TESTTESTTEST.TXT" "WORKSWORKSWORKS.TXT"
by pcmeng
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 pcmeng
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
by pcmeng
by pcmeng
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending