Re: Simple copy but getting error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Some comments:
- What is the /G switch for? My version of xcopy.exe has no
such switch!
- If you get a "path too long" error message then you must
reduce the total length of path+file name to less than 250
characters. Place your information into your files, not into
the file names! You may have to apply this trick to access
folders that are located too deep inside your directory structure:

subst x: "d:\Data\Some Folder\Some SubFolder\Some SubSubFolder"

You can now manipulate your excessively long file/folder names
on drive X:.


"Harrison Midkiff" <HMidkiff@xxxxxxxxxx> wrote in message
news:%23B5xfDpXGHA.4988@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for replying to my post.

In order to do this, this is what I did. I want to copy the 250 GB to a
USB
hard drive attached to my computer. I created a shared folder on it and
gave my account full permissions to the folder. This was my syntax:

xcopy d:\data \\COMPUTER_NAME\data /E /C /G /H /Y

Any help would be great.



"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:ehvQPPoXGHA.4388@xxxxxxxxxxxxxxxxxxxxxxx

"Harrison Midkiff" <HMidkiff@xxxxxxxxxx> wrote in message
news:OvLUdcnXGHA.508@xxxxxxxxxxxxxxxxxxxxxxx
Hello:

I need to copy 250 GB of date from a network drive to a USB hard drive.
I
am using the normal copy/paste technique, but I am hitting a problem.
The
copy goes fine until it gets to a problem file then I get an error
message
"Cannot remove folder [NAME_OF_FILE]: The filename or extension is too
long". I tried doing a xcopy and ran into even more problems with the
syntax. The network share is on a Windows 2003 server.

Does anyone know of an technique to force this? Any help or advice
would
be
greatly appreciated.

Harrison Midkiff



Let's have a look at your xcopy syntax!






.



Relevant Pages

  • Re: Rounding numbers with bash tools
    ... with the syntax yet. ... I understand that the -s switch allows for the ... variable 'width' to be given after the perl program itself. ... The error message it gives me is: ...
    (comp.unix.shell)
  • Re: IRR
    ... > when I use the following CF stream, I get an error message. ... I am trying to figure out the IRR for an investment. ... it is not one of those simple cases where the initial investment is negative and all subsequent cash flows are positive. ... There are a couple of times when the cash flow signs switch. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: robotron game adjustment
    ... I had a Joust machine that was giving the exact same error message. ... After cycling the machine half a dozen times or so, ... My money is on the center switch being in the wrong position... ... Rebuild your power supply with a kit from Bob Roberts or pick ...
    (rec.games.video.arcade.collecting)
  • RE: Unbound Combo Box Default Value Based on Query
    ... "ScottMsp" wrote: ... I am still getting error message, "The syntax of the subquery in this ...
    (microsoft.public.access.formscoding)
  • Re: beginner asm, where next?
    ... I think you'll find that switching from Nasm to Gas syntax *will* mess you up - messes *me* up! ... Switching from Nasm to Masm syntax won't mess you up as badly as Nasm->Gas, perhaps, but it *will* mess you up. ... That doesn't mean you're locked into Nasm forever - if you're going to "switch", ...
    (alt.lang.asm)