Re: Copy folder with long file names



Robocopy is a nice tool but unfortunately it won't resolve
the long path name issue.


"Shankomatic" <Shankomatic@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E9FA18A-2B85-484E-A67A-20192B2B860C@xxxxxxxxxxxxxxxx
Look at Robocopy. It will get around long file paths and it is free...

http://www.microsoft.com/technet/technetmag/issues/2006/11/UtilitySpotlight/

(You don't have to use in on 2003 Server)

"Pegasus (MVP)" wrote:


"dennist" <dennist@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@xxxxxxxxxxxxxxxx
I want to copy a folder from my external HD to my harddisk.
It won't work because of long file names. It are to much files to
change
the
names.
Zip or Rar won't work.
Any suggestions?

You need to create a drive letter that points to the middle of
your excessively long path, either as a substituted drive or as
a shared drive:

- Click Start / run / cmd {OK}
- Type either of these commands:
subst Q: "c:\documents and settings\dennist\some long folder name"
net use Q: "\\%ComputerName%\C$\documents and settings\dennist\some long
folder name"

You can now copy your files from drive Q:. In future you
should put your information INTO each document, not into
the path or document name.





.



Relevant Pages

  • Re: lanman shares
    ... "Pegasus (MVP)" wrote: ... so that you can run it as a batch file on the new server. ... problem is there are about 2000 shares and about ...
    (microsoft.public.windows.server.general)
  • Re: remote comand
    ... Please let's see the exact command you're using! ... "Pegasus (MVP)" wrote: ... I'm just trying to sincronize my server 2 with a hdd library clone ...
    (microsoft.public.windows.server.general)
  • Re: Remote vpn
    ... Thanks Pegasus!! ... No wonder you are an MVP. ... as the remote ip. ... in the server, in this case 192.168.0.102 the home configuration shows up on ...
    (microsoft.public.win2000.networking)
  • Re: List of Network Shares
    ... "Pegasus (MVP)" wrote: ... run it on each server with Mom. ... if you have any ready to use script ...
    (microsoft.public.scripting.vbscript)
  • Re: OMA with WM6
    ... Cris Hanna [SBS - MVP] ... Choose Configure Server on the Activesync menu to ... > Before now I got the errors that said the certificate did not match but I ... > without resolve. ...
    (microsoft.public.windows.server.sbs)