5

I have an old CD with Amiga files on that I want to copy to my modern Windows 7 PC.

Most files are read fine, but when Windows finds a file with a problematic filename, it only allows you to skip that file. It won’t automatically copy the file and remove the forbidden characters (such as '?' or '|') in it at the same time.

I want those supposedly “forbidden” files. How do I get Windows to automatically rename them as it copies and continue with the rest?

I’ve tried the following file manager programs, all without success. I even tried to dip into the options for each program to hopefully use its own custom copy method:

  • FreeCommander XE (has its own copy routine, but still fails)
  • XYplorer (has its own copy routine, but still fails)
  • Double Commander
  • Directory Opus 11 64-bit. (Pro edition)
  • xplorer²
  • Q-Dir
  • Unreal Commander
  • NexusFile
  • Total Commander
  • My Commander
  • Nomad.NET
  • Just Manager
Giacomo1968
  • 58,727
Twinbee
  • 570

4 Answers4

4

The solutions you mentioned are all generic file managers. I suggest to take a look at tools that are specifically made to image and copy optical media.

I'm not a fan of promoting commercial software here, but I used IsoBuster multiple times for very similar issues quite successfully. The good news: they have a (limited functionality) free version so you can try it out before you buy it.

agtoever
  • 6,402
1

Try the cp utility I supply with my Hamilton C shell. (Full disclosure: I'm the author.) Internally, I used Microsoft's new long UNC format (using the \\?\ prefix) intended to allow access to files and directories with names containing arbitrary characters. I doubt many other vendors are using this yet. You can try this with the free demo version.

cp doesn't include an auto-renaming feature, so this part you'll have to do in one of a couple ways.

  1. You may be able to cp the entire directory onto your hard disk with the odd names, then mv things around to your liking. Create a directory first, then cp everything into the directory. If the experiment fails and you're stuck with some names you can't specify on the command line, you can rm -x the whole directory and start over.
  2. You could write a script that copies all the odd-named pieces individually, specifying how each piece is to be renamed on the the command line to cp. This script could be little more than a long list of cp commands you've edited, perhaps starting with a list of filenames generated by ls -r1.

Please let me know how it works out. You're welcome to contact me offline if I can be helpful.

0

You should be able to do this from the command line in Windows fairly easily. Specifically renaming WHILE copying I am not sure. But, I have been able to move 'forbidden' files by changing or removing the file extention.Then copying them and adding the file extension back.

Open Command prompt. Navigate to the folder where your files are.

cd C:\File\Directory\With\Your\Files

ren *.txt *.doc

Better yet.Here is a link to something previously written: http://www.windows-commandline.com/rename-file-extensions-bulk/

Maybe this will help.

David
  • 249
0

Check out the answer to: How can I mass rename files?

Bulk Rename Utility is the top answer, which has copy options, and regex match/replace options.

Checking the manual, they also have a 'Remove Symbols' option:

Note that the "Remove Symbols" option removes the following symbols (some of which are not valid
in filenames anyway):
! £ $ % ^ & * ( ) - _ = + [ ] { } ; : ' @ # ~ , .  / ? \ | ` ¬ ¦
WireGuy
  • 1,719