Computing.Net > Forums > Disk Operating System > Problems- xcopy & long folder names

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Problems- xcopy & long folder names

Reply to Message Icon

Name: AndyT
Date: March 5, 2003 at 03:39:02 Pacific
OS: Windows 2K
CPU/Ram: P2GHz 512MB
Comment:

Hi All,

I am making a batch file using xcopy to copy a users data, but the only way i can get the batch file to work, is if I change the folder names on the path to 8 chars or less (file names are working fine as long names).

Anyone got a solution please?

Thanks in advance.

Andrew Turner



Sponsored Link
Ads by Google

Response Number 1
Name: Moondragon
Date: March 5, 2003 at 05:42:56 Pacific
Reply:

You could try truncating the filename - I.E. Dos recognises the first six letter followed by ~1
so for a file called personsdata.dat
use person~1.dat

I think that should work

John


0

Response Number 2
Name: arturner
Date: March 5, 2003 at 05:51:11 Pacific
Reply:

Thanks, but it's only the folders that are causing the problems, the filenames are going though fine as long, but I have to rename the folders to 8chars or less to get them to work.
using the ~1 results in the same problem.

:(

Andy


0

Response Number 3
Name: Petit Jean
Date: March 5, 2003 at 08:00:51 Pacific
Reply:

www.computing.net/windows31/wwwboard/forum/9759.html
This post suggets to use xxcopy.exe from
www.xxcopy.com
Good luck.


0

Response Number 4
Name: serjoga
Date: March 11, 2003 at 02:51:23 Pacific
Reply:

Try to load DOSLFN.COM

This driver supports long names under DOS.


ftp.agt.net/pub/simtelnet/msdos/fileutil/doslfn.zip


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Problems- xcopy & long folder names

folder name with a space, Urgent! www.computing.net/answers/dos/folder-name-with-a-space-urgent/9287.html

shell cd > (long file names) www.computing.net/answers/dos/shell-cd-long-file-names/7364.html

long file names in dos 6.22 www.computing.net/answers/dos/long-file-names-in-dos-622/12511.html