Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!apple!mips!pacbell.com!decwrl!nsc!pyramid!cbmvax!kevin From: kevin@cbmvax.commodore.com (Kevin Klop) Newsgroups: comp.sys.amiga.tech Subject: Re: EXECUTE errors Message-ID: <13010@cbmvax.commodore.com> Date: 3 Jul 90 05:21:11 GMT References: <268f7858-75c.1comp.sys.amiga.tech-1@tronsbox.xei.com> Reply-To: kevin@cbmvax (Kevin Klop) Organization: Commodore, West Chester, PA Lines: 35 In article <268f7858-75c.1comp.sys.amiga.tech-1@tronsbox.xei.com> bleys@tronsbox.xei.com (Bill Cavanaugh) writes: >>I have never used the "execute" command before and I'm having some >>problmes... I am trying a new boot process where a short startup- >>sequence file EXECUTEs another file on the hard disk. I get the >>following error: >> >>EXECUTE: No K directive > >If you start your script file with > >.bra { >.ket } > >your problems will magically vanish. I'm sure someone out here will have a >technical explanation why, but I had the same problem, and this was the >solution... > The normal use of "<" and ">" within a script file is for delimiting parameters that were passed into the script. Thus, redirection from within a script file yields the "No K directive" error message. By using the .bra and .ket directives, you change the parameter delimiters to something else, and thereby allow redirections. -- Kevin -- Kevin Klop {uunet|rutgers|amiga}!cbmvax!kevin Commodore-Amiga, Inc. ``Be excellent to each other.'' - Bill and Ted's most excellent adventure Disclaimer: _I_ don't know what I said, much less my employer.