28 October 2018, 09:47 | #1 |
Registered User
Join Date: Feb 2018
Location: Germany
Posts: 5
|
LHA with # in folder name
Hi,
I am trying to write an axrexx script to automatically unpack all WHDLoad archives. We have a folder (e.g. in Demos or Games) called '#', which LHA (and other tools too) isn't dealing with (can't open both output and input files (probably due to the fact this character introduces wildcard patterns). 2 Issues:
LHA -mr x "Commodore_Amiga_-_WHDLoad_-_Demos/#/1whatever.lha" #? "unpacked/Demos/#/1whatever/" So what possibilities do I have to read and write with LHA to folders with '#' (I would like to keep the folder name) ? Some possibility to "escape" this character ? Last edited by logical; 28 October 2018 at 09:57. |
28 October 2018, 13:39 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
Rename "#" to something useful. The OS3.1 DOS file naming convention (3-7) says to avoid such chars as directory and file name. If you hold "#" you will sooner or later fall in trouble again.
|
01 November 2018, 16:48 | #3 |
Registered User
Join Date: Feb 2018
Location: Germany
Posts: 5
|
yes, I would aggree.
The problem is these characters are currently part of the WHDLoad folder structure. The same issue I have with the "(Beta & Unreleases)" folders due to the '(...)' construct. Best would be to change the names in these ftp://grandis.nu/Commodore_Amiga/Retroplay folders:
|
01 November 2018, 18:04 | #4 |
Lemon Curry ?
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,085
|
To make it easier, I'll just rename those folders to 0.
Does [ ] work better than ( ) in the Beta & Unreleased folder name ? Last edited by Retroplay; 01 November 2018 at 18:26. |
01 November 2018, 20:54 | #5 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
Naming convention say avoid this:
Code:
, * ( ) ? ` # [ ] < > ~ | $ " % |
01 November 2018, 21:01 | #6 |
Lemon Curry ?
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,085
|
Righty-o, renamed to "Commodore Amiga - WHDLoad - Games - Beta & Unreleased"
Hopefully that should take care of business. |
01 November 2018, 23:30 | #7 |
Registered User
Join Date: Feb 2018
Location: Germany
Posts: 5
|
perfect - this make things much easier.
+1 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Zipping a folder's content without the folder itself | Frankie | support.Apps | 0 | 14 September 2017 08:28 |
Can't find the C: folder? | Sanxion | Retrogaming General Discussion | 7 | 17 July 2017 18:12 |
How do I load a 'lha' folder into an Amiga emulator (E-UAE) | DarkAvenger | support.OtherUAE | 5 | 21 February 2017 17:35 |
WHDLoad Folder? | Enverex | support.FS-UAE | 3 | 02 October 2014 06:49 |
No storage folder available | Emu Amiga | project.ClassicWB | 6 | 09 September 2010 16:52 |
|
|