Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to move some files over from an old hard drive. A couple of folders refuse to be copied. When trying to access the folders, the following error message appears:

[directory name] refers to a location that is unavailable.

It could be on a hard disk on this computer, or on a network. Check to make sure that the disk is properly inserted or that you are connected to the internet and then try again. If it still cannot be located, the information may have been moved to a different location.

All the folders in question have a common property, they end in a period, which is illegal in XP.

Examples:

D:\folder1.
D:\folder2.

I've checked the following resource: http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/ Which solves the issue when you want to remove the folders, I've tested this and it works great.

Using command prompt and prepending \\\\?\ will let me access the file so

rd /s "\\\\?\D:\folder1."

This works fine, strangely this does not seem to work with copy or move. I've tried various permutations of

  • copy "\\\\?\D:\folder1." somethingelse
  • copy "\\\\?\folder1." somethingelse
  • move "\\\\?\D:\folder1." somethingelse
  • move "\\\\?\folder1." somethingelse

These folders have data I would like to access, so deleting the folders is of no use to me. I want to find some way to either rename the folders something that XP can understand or move the files out of that directory.

Is there anyway to do this with XP, or am I stuck with finding an OS that can read these files properly? If so do you have any suggestions on Live CDs that can understand filenames with this particular format?

share|improve this question
add comment

3 Answers

up vote 5 down vote accepted

try using the dos name: "dir /x" will show you what they are. If it's shorter than 6 letters though it won't have any effect

share|improve this answer
    
it worked, thanks! –  Raymond May 14 '11 at 2:20
add comment

Just burn an Ubuntu LiveCD and copy the files out.

share|improve this answer
add comment

You could rename the folder using a wildcard (?/*) like:

ren D:\Folder1? NewFolder1
ren D:\Folder1* NewFolder1

Or, you could use a disk-editor/sector-editor to edit the stored filename. There is some good info here: superuser.com-windows-fat-ntfs-low-level-disk-viewer-norton-diskedit-alternative

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.