English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 08 March 2018, 19:30   #61
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,546
every heard of lhasa?
current version on aminet, but a new version is in the making.

the nice feature of lhasa, it does create a configurable folder, where it does extract the archive:
Code:
$ lhasa.exe -ew=new_folder Anim2gif.lha
new_folder/Anim2gif.info        - Melted   :  o
new_folder/Anim2gif/An2gif      - Melted   :  o
...
so you may configure DOpus with the variable of the src-file-name as new destination folder.
maybe it's somehow usefull.
emufan is offline  
AdSense AdSense  
Old 08 March 2018, 20:55   #62
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,447
I wonder if it would make sense to define .BRA and .KET as something else than < and >.
idrougge is offline  
Old 24 March 2018, 19:52   #63
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
Updated script:

Code:
.KEY SRC,DST
.DEF SRC "Downloads:"
.DEF DST "RetroStuff:"
LIST <SRC> PAT=#?.lha LFORMAT="LhA x *"%P%N*" *"<DST>%M/*"" >"RAM:Downloads.txt"
LIST <SRC> PAT=#?.lzx LFORMAT="LZX x *"%P%N*" *"<DST>%M/*"" >>"RAM:Downloads.txt"
LIST <SRC> PAT=#?.zip LFORMAT="UnZip *"%P%N*" -d *"<DST>%M*"" >>"RAM:Downloads.txt"
EXECUTE >NIL: "RAM:Downloads.txt"
Foebane is offline  
Old 02 May 2018, 14:59   #64
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
Quote:
Originally Posted by jPV View Post
Maybe because it has parenthesis in its name? They are special characters in AmigaDOS, so I would advice not to use them in file names no matter if it's the reason here or not. By using them you'll end up with trouble sooner or later anyway.. especially if handling such files from scripts.


Here's what Amiga manuals tell:

Colons ( and slashes (/) are reserved and cannot be used in file or directory names. Semicolons (, asterisks (*), parentheses (()), question marks (?), back apostrophes (`), number or pund signs (#), square brackets ([]), angle brackets (<>), tildes (~), vertical bars (|), dollar signs ($), double quotation marks ("), and percent signs (%) are not reserved; however, we recommend that you do not use these characters in your file or directory names because they have special meaning in AmigaDOS.
This is rather late to the party, but are "at signs" (@) also on this list?
Foebane is offline  
Old 02 May 2018, 15:35   #65
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 41
Posts: 11,541
I would avoid them in filenames Foebane...
DamienD is offline  
Old 02 May 2018, 18:50   #66
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
Quote:
Originally Posted by DamienD View Post
I would avoid them in filenames Foebane...
Gordon Bennett, what IS allowed, then? Looks like only alphanumeric and mixed case to me!
Foebane is offline  
Old 02 May 2018, 20:36   #67
jPV
Registered User
jPV's Avatar
 
Join Date: Feb 2008
Location: RNO
Posts: 573
Quote:
Originally Posted by Foebane View Post
Gordon Bennett, what IS allowed, then? Looks like only alphanumeric and mixed case to me!
@ is fine on Amiga AFAIK, and there are many other characters besides the listed ones which do work too, but IMHO it's best to avoid any special characters and keep it simple You never know when you have to copy files to other systems and what could happen there. Keep it plain and don't even use spaces and you're on safer side
jPV is offline  
Old 02 May 2018, 20:57   #68
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,447
Anything but ~ # " ? or any kind of parentheses/brackets is fine.
idrougge is offline  
Old 03 May 2018, 09:11   #69
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 45
Posts: 2,902
You can use every possible character except ":" and "/".
Some others can cause problems under special circumstances, such as command-line parsing, pattern-matching, or for use on pc filesystems.

If you really really really want to be safe, use only caps and 8.3
meynaf is offline  
Old 03 May 2018, 11:12   #70
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
I just ran my usual script (the subject of this thread) on a whole bunch of files with @ in the filenames and I had no problems, and I've read that if there were going to be problems, they would've occurred during this process. But none, so it's fine.
Foebane is offline  
Old 08 May 2018, 09:00   #71
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
Script update:

Code:
.KEY SRC,DST,TXT
.DEF SRC "Downloads:"
.DEF DST "DemoZone:"
.DEF TXT "RAM:Downloads.txt"
LIST <SRC> PAT=#?.exe LFORMAT="COPY *"%P%N*" TO <DST>" ><TXT>
LIST <SRC> PAT=#?.lha LFORMAT="LhA x *"%P%N*" *"<DST>%M/*"" >><TXT>
LIST <SRC> PAT=#?.lzx LFORMAT="LZX x *"%P%N*" *"<DST>%M/*"" >><TXT>
LIST <SRC> PAT=#?.zip LFORMAT="UnZip *"%P%N*" -d *"<DST>%M*"" >><TXT>
EXECUTE >NIL: <TXT>
This time, single downloaded .exe files will also be copied.
Foebane is offline  
Old 10 June 2018, 23:18   #72
Foebane
Registered User
 
Join Date: Sep 2011
Location: Cardiff, UK
Posts: 1,120
Latest update:

Code:
.KEY SRC,DST,TXT
.DEF SRC "Downloads:"
.DEF DST "DemoZone:"
.DEF TXT "RAM:Downloads.txt"
LIST <SRC> PAT="2 #?.exe" LFORMAT="COPY *"%P%N*" TO <DST>" ><TXT>
LIST <SRC> PAT="4 #?.exe" LFORMAT="COPY *"%P%N*" TO <DST>" >><TXT>
LIST <SRC> PAT="#?.lha" LFORMAT="LhA x *"%P%N*" *"<DST>%M/*"" >><TXT>
LIST <SRC> PAT="#?.lzx" LFORMAT="LZX x *"%P%N*" *"<DST>%M/*"" >><TXT>
LIST <SRC> PAT="#?.zip" LFORMAT="UnZip *"%P%N*" -d *"<DST>%M*"" >><TXT>
EXECUTE >NIL: <TXT>
Foebane is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to extract NDK39.lha Hiddenevil support.Apps 8 06 November 2017 11:14
Using Xdftool with LHA archives.. bugsymalone666 support.Other 6 25 June 2017 02:27
Self Extracting LHA Archives hipoonios support.Apps 7 16 January 2015 23:15
Dopus suddenly won't extract LhA Files manic23 support.Apps 3 30 March 2013 13:43
Any app to extract multiple archives??? keropi support.Apps 4 02 April 2007 13:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07742 seconds with 16 queries