"Copy file as..." feature?

M

my-wings

I copied my entire "My Documents" folder from my old Win 98 computer onto a
burnable CD, which my new XP-Pro computer can read, but not modify. I was
going to copy the whole directory onto my new XP-Pro computer. Things went
well until XP hit a file with an invalid or too long file name. (Both
possibilities were given in the error message.) I was instructed to re-name
the file, but not given any way to do so.

I can't rename the file on the CD, because my new computer can't modify it,
and I don't know a way give the folder a new name as part of the copy
process. I think I'm in one of those "can't get there from here" places.

To make matters worse, the computer just quits when it runs into a file it
can't copy. I've got about 2,500 files in 150 folders that didn't copy
over...I'm not sure which ones they are without comparing folder for folder.
So, if there is some way I can compare directories and files to see what's
missing, that would be helpful too.

I appreciate any ideas or suggestions.

Thanks.
Alice
 
D

David Candy

Use XCOPY. Type it in help.

Type cmd in Start - Run
then in the command prompt type something like this (adjust for your paths and drives)

xcopy "d:\*.*" "C:\documents and Settings\Your Name\My Documents\*.*" /e /c /f /h /r /y

Check the switches in Help. This will overwrite already copied files and display on screen the result of each file copy. To save the list in a file use

xcopy "d:\*.*" "C:\documents and Settings\Your Name\My Documents\*.*" /e /c /f /h /r /y>"%userprofile%\desktop\XCopy List.txt"

Which will save the list on your desktop (assuming your desktop is in the default location). Likewise we can shorten the original command if your My Docs is in it's default position. %userprofile% = c:\documents and Settings\<Your User Name> The quotes are needed if the name or path has any spaces in it.

xcopy "d:\*.*" "%userprofile%\My Documents\*.*" /e /c /f /h /r /y

You can downoad windiff here
ftp://ftp.microsoft.com/services/technet/samples/ps/win98/reskit/FILE/

Two files, the exe and the hlp file. Just copy somewhere and dbl click the exe file, then File menu, Compare Directories.
 
G

Guest

This may or may not fix it but it's worth a try.

Click Start, and then click Run. The Run dialog box appears.
Type regedit and then click OK. The Registry Editor opens.
Navigate to the following key: by clicking the + beside entries in this order
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesyste
Click on Filesystem to highligh it and open the subkeys in the right pane
In the right hand pane, right-click the following value, and then click Modify
NtfsDisable8dot3NameCreatio
Change the number in the Value data box to:
Please note that this is a DWORD value, not a String or Binary value
Click OK.
Click Registry, and then click Exit

Good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top