Re: Filename too long when transferring computers
- From: "HeyBub" <heybub@xxxxxxxxx>
- Date: Sun, 10 Aug 2008 16:14:52 -0500
Pegasus (MVP) wrote:
"HeyBub" <heybub@xxxxxxxxx> wrote in message
news:egr7M1Y%23IHA.1180@xxxxxxxxxxxxxxxxxxxxxxx
JMF wrote:
Here's something I can't figure out:
I bought a new laptop and am transferring files from the old one,
through a USB external drive.
For some of the files, the new machine says "The filename is too
long or filename isn't valid" so the transfer is aborted.
They're both XP machines (well, the old one is XP Home and the new
one is XP Pro).
If the name was fine on the old machine, why isn't it fine on the
new one? Especially since in these cases the names aren't even that
long. I'm guessing I have to set something on the new machine.
Anybody offer any insights?
You said "transfer" but didn't name the mechanism.
If you're using the command prompt COPY or XCOPY commands, be aware
that any imbedded spaces in folders or filenames bother the command
something fierce. To circumvent this problem, surround the source
and destination addresses with double-quotes, viz:
COPY "C:\Source Folder\Source File.TXT" "F:\Destination Folder\"
This is the second time today that you push this line. While you are
certainly correct in saying that file/folder names with embedded
spaces must be surrounded by double quotes, this has nothing at
all to do with the problem of having excessively long file+folder
names. Mentioning it to the OP will only cause confusion. Note
also that the double-quote requirement is not limited to the copy/
xcopy commands. It applies to ALL console commands, with one
tiny exception (which I won't mention for fear of adding to your
confusion).
I mentioned it because the OP said "... the filenames aren't even that
long..."
I deduced from that long filenames were not the actual problem.
As for generating confusion, that's simply not possible. If the OP does not
have any imbedded spaces in his his file\folder names, adding double-quotes
won't matter. If he does have imbedded spaces, adding double-quotes may very
well solve his problem.
I recall a situation from the days of the Yiddish theater. An actor
collapses on the stage. A doctor from the audience runs up and examines him.
From the balcony a Yiddishi-momma voice calls out: "Give him an enema!"
The doctor stands and shouts: "Madam, the actor is dead!"
The voice from the balcony shouts back, "So... It can't hurt!"
.
- Follow-Ups:
- Re: Filename too long when transferring computers
- From: Pegasus \(MVP\)
- Re: Filename too long when transferring computers
- References:
- Filename too long when transferring computers
- From: JMF
- Re: Filename too long when transferring computers
- From: HeyBub
- Re: Filename too long when transferring computers
- From: Pegasus \(MVP\)
- Filename too long when transferring computers
- Prev by Date: Problems after SP3 Installation
- Next by Date: Re: Error on startup
- Previous by thread: Re: Filename too long when transferring computers
- Next by thread: Re: Filename too long when transferring computers
- Index(es):
Relevant Pages
|