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
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).
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
Summary: Hi all, My working environment is windowns NT 4.0 and my question is when we have a space in a folder name dos doesn't recognize it(for example ProgramFiles. Is there a way to get around this problem ...
Summary: I am programing a dos game. I use the following to get the path of where the user is at the moment the program is run. shell cd > path.txt This goes into a dos prompt, get the current path and save i...
Summary: I have a Program called chainsaw that cuts files down to fit on a floppy disk. The only problem dos 6.22 cannot read the long file names. Example Seal2.bar from 2,374kb to seal2.bar.chunk1 1,368...