Page 1 of 1

Wikl.amigaos.net

Posted: Sun Apr 06, 2014 12:56 pm
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}
:-)

Re: Wikl.amigaos.net

Posted: Sun Apr 06, 2014 7:10 pm
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

Re: Wikl.amigaos.net

Posted: Sun Apr 06, 2014 11:26 pm
by ssolie
Amigo1 wrote:I would like to point out some typos here:
http://wiki.amigaos.net/index.php/Amiga ... nd_Scripts
Fixed.

Re: Wikl.amigaos.net

Posted: Tue Apr 15, 2014 8:19 am
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! :-)

Re: Wikl.amigaos.net

Posted: Tue Apr 15, 2014 8:19 am
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! :-)