Re: Simple copy but getting error



Hi,

I suggest you use "subst <drive letter> <path> to create a virtual disk.

e.g.: to share a folder c:\test as V drive use
subst v: c:\test
this will share it as a virtual V drive
Also to delete the mapping use subst v: /d


Hope this helps.


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
From: "Harrison Midkiff" <HMidkiff@xxxxxxxxxx>
References: <OvLUdcnXGHA.508@xxxxxxxxxxxxxxxxxxxx>
<ehvQPPoXGHA.4388@xxxxxxxxxxxxxxxxxxxx>
<#B5xfDpXGHA.4988@xxxxxxxxxxxxxxxxxxxx>
<eesWMMpXGHA.1220@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: Simple copy but getting error
Date: Wed, 12 Apr 2006 20:56:43 -0400
Lines: 77
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
Message-ID: <O#v$kUpXGHA.4652@xxxxxxxxxxxxxxxxxxxx>
Newsgroups: microsoft.public.win2000.general
NNTP-Posting-Host: 117-120.8-67.tampabay.res.rr.com 67.8.120.117
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.win2000.general:201081
X-Tomcat-NG: microsoft.public.win2000.general

Thanks for replying to my post again.

The /G is Allows the copying of encrypted files to destination that does
not
support encryption. I added it as a fail safe so to speak. I really
want
to avoid reducing the path because the data is an archive. Any other
suggestions. I am going to check the script center next to see if there
is
anything there.


"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:eesWMMpXGHA.1220@xxxxxxxxxxxxxxxxxxxxxxx
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: Switch from Power User to User
    ... they got an error message regarding Folder ... The SBS\\Users on SBS is the folder that is attempting to sync. ... All the workstations that have users that have been changed from Power User ... > Synchronize, how many offline folders you can see in the Items to ...
    (microsoft.public.windows.server.sbs)
  • RE: Offline Address Book error on send/receive
    ... address book can not be download error message after you joined the SBS ... navigate to the server entry. ... Please rebuild Offline Address Lists to see if it helps. ... Storage Group -> Public Folder Store, Does the store is mounted properly? ...
    (microsoft.public.windows.server.sbs)
  • Re: File problems
    ... original message, the response from Daave, my response to him, the response ... error message, but now it is 6 or more times A DAY. ... only to find that XP has ANOTHER glitch Windows 98 SE ... "Cannot remove folder: It is being used by another ...
    (microsoft.public.windowsxp.general)
  • Re: "Undeletable" File
    ... I hadn't tried FileASSASSAIN but, ... of its three deletion methods elicited the error message ... Open your backup program and restore the file you created to ... the folder where the undeletable file is, ...
    (microsoft.public.windowsxp.general)
  • Re: Script to create subdirectories
    ... I tried it and I'm getting an error message at this line: ... Dim aFolders, newFolder ... ' Splits the various components of the folder name. ...
    (microsoft.public.windows.server.scripting)