Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-31-2007, 01:30 AM
dennist
Newsgroup Contributor
 
Posts: n/a
Copy folder with long file names

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-31-2007, 01:30 AM
  #2 (permalink)  
Old 08-31-2007, 01:40 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Copy folder with long file names


"dennist" <dennist@discussions.microsoft.com> wrote in message
news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@microsoft.com...
>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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 08-31-2007, 09:30 AM
Shankomatic
Newsgroup Contributor
 
Posts: n/a
Re: Copy folder with long file names

Look at Robocopy. It will get around long file paths and it is free...

http://www.microsoft.com/technet/tec...litySpotlight/

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

"Pegasus (MVP)" wrote:

>
> "dennist" <dennist@discussions.microsoft.com> wrote in message
> news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@microsoft.com...
> >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.
>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 08-31-2007, 10:00 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
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@discussions.microsoft.com> wrote in message
news:5E9FA18A-2B85-484E-A67A-20192B2B860C@microsoft.com...
> Look at Robocopy. It will get around long file paths and it is free...
>
> http://www.microsoft.com/technet/tec...litySpotlight/
>
> (You don't have to use in on 2003 Server)
>
> "Pegasus (MVP)" wrote:
>
>>
>> "dennist" <dennist@discussions.microsoft.com> wrote in message
>> news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@microsoft.com...
>> >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.
>>
>>
>>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 08-31-2007, 10:30 AM
Shankomatic
Newsgroup Contributor
 
Posts: n/a
Re: Copy folder with long file names

Robocopy.exe
Robust File Copy Utility
Version XP010
•Copy very long path names (longer that 256 characterfs).
Previous versions of Robocopy would fail to copy any pathname longer than
256 characters. The program has now been enhanced to handle pathnames of any
length, up to the internal Windows limit of nearlt 32,000 characters.




"Pegasus (MVP)" wrote:

> Robocopy is a nice tool but unfortunately it won't resolve
> the long path name issue.
>
>
> "Shankomatic" <Shankomatic@discussions.microsoft.com> wrote in message
> news:5E9FA18A-2B85-484E-A67A-20192B2B860C@microsoft.com...
> > Look at Robocopy. It will get around long file paths and it is free...
> >
> > http://www.microsoft.com/technet/tec...litySpotlight/
> >
> > (You don't have to use in on 2003 Server)
> >
> > "Pegasus (MVP)" wrote:
> >
> >>
> >> "dennist" <dennist@discussions.microsoft.com> wrote in message
> >> news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@microsoft.com...
> >> >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.
> >>
> >>
> >>

>
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 08-31-2007, 12:30 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Copy folder with long file names

Aha! The version of robocopy is essential - glad you
pointed it out in your second reply.


"Shankomatic" <Shankomatic@discussions.microsoft.com> wrote in message
news:5F83D27D-AFDD-43D6-A6DE-D956B1A273E3@microsoft.com...
> Robocopy.exe
> Robust File Copy Utility
> Version XP010
> .Copy very long path names (longer that 256 characterfs).
> Previous versions of Robocopy would fail to copy any pathname longer than
> 256 characters. The program has now been enhanced to handle pathnames of
> any
> length, up to the internal Windows limit of nearlt 32,000 characters.
>
>
>
>
> "Pegasus (MVP)" wrote:
>
>> Robocopy is a nice tool but unfortunately it won't resolve
>> the long path name issue.
>>
>>
>> "Shankomatic" <Shankomatic@discussions.microsoft.com> wrote in message
>> news:5E9FA18A-2B85-484E-A67A-20192B2B860C@microsoft.com...
>> > Look at Robocopy. It will get around long file paths and it is free...
>> >
>> > http://www.microsoft.com/technet/tec...litySpotlight/
>> >
>> > (You don't have to use in on 2003 Server)
>> >
>> > "Pegasus (MVP)" wrote:
>> >
>> >>
>> >> "dennist" <dennist@discussions.microsoft.com> wrote in message
>> >> news:CEAB146D-1FEF-4A77-8C10-8BA1FBA55A3E@microsoft.com...
>> >> >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.
>> >>
>> >>
>> >>

>>
>>
>>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 09-01-2007, 10:40 PM
Plato
Newsgroup Contributor
 
Posts: n/a
Re: Copy folder with long file names

=?Utf-8?B?ZGVubmlzdA==?= wrote:
>
> 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.


IN the future keep your file names short. I have run into problems
saving my daughters mp3's with long file names to cd. Best to keep
shorter file names.


--
http://www.bootdisk.com/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder and File Names Have Disappeared Jim Windows XP 2 07-21-2007 07:20 PM
Extracting File / Folder Names Big Rick Microsoft Office 5 06-02-2007 03:50 PM
Long file names Jack Russell Windows XP 3 04-16-2007 12:00 AM
MS-DOS long file names Scott Windows XP 9 01-04-2007 02:13 AM
Copy the names of the files in a folder jose_luis_fdez_diaz Windows XP 1 01-04-2007 01:55 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 06:46 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0