09 November 2014, 05:24 | #1 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Copying over Amiga files with dodgy filenames to PC
I have an old CD with Amiga files on that I want to copy to my Windows 7 PC.
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 'forbidden' files. How do I get Windows to automatically rename them as it copies and continue with the rest? Will I need to WinUAE for this I wonder or is there a simpler solution...? 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 |
09 November 2014, 07:03 | #2 |
Zone Friend
Join Date: Jun 2006
Location: Gargore
Age: 43
Posts: 17,789
|
Try to make image file and mount it as virtual CD.
|
09 November 2014, 07:04 | #3 |
Registered User
Join Date: Jun 2014
Location: West Virginia
Posts: 59
|
Make an old fashioned bat file.
|
09 November 2014, 07:44 | #4 |
WinUAE end user
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
|
Mount the image in WinUAE and copy the files from within emulation.
|
09 November 2014, 12:38 | #5 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Thanks all.
Any easier way than through WinUAE emulation, and renaming all the files manually? A bat file won't work, since Windows can't even read files that have filenames with weird characters. |
09 November 2014, 12:55 | #6 |
Supernormal
Join Date: Jul 2007
Location: Istanbul / Turkey
Age: 43
Posts: 1,410
|
The only way to copy such files to aPC filesystem was to mount the cd using WinUAE and rename them after copying to Amiga filesystem formatted media. That was what I did.
|
09 November 2014, 13:40 | #7 |
Registered User
Join Date: Aug 2012
Location: Australia
Posts: 651
|
See if iso buster on windows can extract it. (You may need the registered version however)
|
10 November 2014, 03:31 | #8 | |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Quote:
What's the best/easiest Amiga rename utility to remove the special characters? |
|
12 November 2014, 09:39 | #9 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
@twinbee You don't need to manually rename files. With FS-UAE, You can copy the files from the CD to a directory hard drive (mounted host directory) within Workbench. Files with illegal names on your host OS will automatically be renamed by FS-UAE during the copy process. I believe WinUAE will also rename the files (using a slightly different method).
|
12 November 2014, 11:51 | #10 | |
WinUAE end user
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
|
Quote:
edit: I hope twinbee did NOT tick that box... Last edited by Michael Sykes; 12 November 2014 at 11:52. Reason: edit: I hope twinbee did NOT tick that box... |
|
12 November 2014, 12:14 | #11 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
UAEFSDB has nothing to do with name mangling needed to support characters that are illegal on host system. UAEFSDB is (now mostly obsolete) method to store the original name.
|
12 November 2014, 12:34 | #12 |
WinUAE end user
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
|
Ahh I see.
Mabe my memory was playing tricks on me. I didn't experience the problem in years. But reading this after I solved my prblem by mounting an image of the CD and read it with an Amiga filesystem made me think it could have done the trick. |
12 November 2014, 16:17 | #13 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
|
It is possible old version refused to open "illegal" filename if it needed "mangling" and uaefsdb was disabled.
|
13 November 2014, 08:39 | #14 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Okay, through WinUAE, it successfully translates a filename such as "CAS_BH-#_N?"..... to ......: "__uae___CAS_BH-#_N_". As I think Toni implied, ticking the "UAEFSDB-support" box didn't make any difference to the transfer. Thanks all. Anything else I should be aware of before I start to copy over everything?
Quick suggestion for Toni: Can you make WinUAE load the last configuration used when WinUAE first starts up? |
13 November 2014, 11:10 | #15 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
# ? | [ ] ( ) ~ are illegal characters in AmigaDOS file names, too. Some Amiga programs might have difficulties to open such files. For example the Shell commands Copy, Rename and Delete.
Last edited by thomas; 13 November 2014 at 11:15. |
13 November 2014, 12:22 | #16 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
It's silly that WorkBench or Windows restricts filenames at all considering one could use quote marks to surround them, like CSV does.
|
13 November 2014, 14:27 | #17 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
It has nothing to do with delimiters but with wildcards.
Code:
copy sys:~(disk).info ram: Code:
copy "sys:'~'(disk').info" ram: I think there even was a bug in Workbench which caused it to run amok when you try to delete for example a file called #?. (Running amok in this case means deleting all files and drawers. Rather dangerous, don't you think so?) |
13 November 2014, 16:26 | #18 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Fair point Thomas - interesting!
|
14 November 2014, 04:04 | #19 |
Registered User
Join Date: Jun 2009
Location: UK
Posts: 38
|
Without using WinUAE, there's another way too (someone's just won the 'bounty' I offered):
http://superuser.com/questions/83610.../839645#839645 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copying files from CD are corrupt | videofx | support.Apps | 3 | 17 January 2014 09:23 |
Freezing when copying files over network | Firestone | support.Other | 1 | 10 July 2013 08:06 |
Copying files | commodoresales | New to Emulation or Amiga scene | 5 | 24 March 2012 21:57 |
v26 CF problem: copying files causes a crash | emuola | project.ClassicWB | 6 | 11 May 2011 20:28 |
Copying Amiga HD files off PC harddrive onto Amiga HD | DanE | New to Emulation or Amiga scene | 9 | 26 July 2005 17:51 |
|
|