Wikl.amigaos.net

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Wikl.amigaos.net

Post by Amigo1 »

Not sure in which forum to post this, it might as well be "AmigaOS general". please move if needed.

I would like to point out some typos here:
http://wiki.amigaos.net/index.php/Amiga ... nd_Scripts

in the example the {RD} option needs to have a space removed in some places for the script to work.

Code: Select all

LIST >T:trd{$$} {RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
should be

Code: Select all

LIST >T:trd{$$}{RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
and

Code: Select all

IF EXISTS T:trd{$$} {RD}
   ; subdirectories exist, execute new script
   ; file and clean up
   EXECUTE T:trd{$$} {RD}
   DELETE T:trd{$$} {RD}
should be

Code: Select all

IF EXISTS T:trd{$$}{RD}
   ; subdirectories exist, execute new script
   ; file and clean up
   EXECUTE T:trd{$$}{RD}
   DELETE T:trd{$$}{RD}
:-)
User avatar
nbache
Beta Tester
Beta Tester
Posts: 1744
Joined: Mon Dec 20, 2010 7:25 pm
Location: Copenhagen, Denmark
Contact:

Re: Wikl.amigaos.net

Post by nbache »

Amigo1 wrote:in the example the {RD} option needs to have a space removed in some places for the script to work.

Code: Select all

LIST >T:trd{$$} {RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
should be

Code: Select all

LIST >T:trd{$$}{RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
Furthermore, I'm pretty sure the "FIRS" should have been spelled "DIRS" :-D

Best regards,

Niels
User avatar
ssolie
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 8:51 pm
Location: Canada
Contact:

Re: Wikl.amigaos.net

Post by ssolie »

Amigo1 wrote:I would like to point out some typos here:
http://wiki.amigaos.net/index.php/Amiga ... nd_Scripts
Fixed.
ExecSG Team Lead
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Re: Wikl.amigaos.net

Post by Amigo1 »

nbache wrote:
Amigo1 wrote:in the example the {RD} option needs to have a space removed in some places for the script to work.

Code: Select all

LIST >T:trd{$$} {RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
should be

Code: Select all

LIST >T:trd{$$}{RD} "{PATH}" FIRS LFORMAT="RPAT *"{COM}*" *"%p%n*" *"{OPT}*" RD=.{RD}"
Furthermore, I'm pretty sure the "FIRS" should have been spelled "DIRS" :-D

Best regards,

Niels
"DIRS" you say "DIRS"?! Must be because you are from Denmark.. :P
You are right of course! :-)
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Re: Wikl.amigaos.net

Post by Amigo1 »

ssolie wrote:
Amigo1 wrote:I would like to point out some typos here:
http://wiki.amigaos.net/index.php/Amiga ... nd_Scripts
Fixed.

Thanks! :-)
Post Reply