[comp.sys.amiga.programmer] No K Directive

Patrick_Young@resbbs.UUCP (Patrick Young) (03/26/91)

Lately, I've been getting this error msg, "No K directive" when running
scripts under WB2.0.  This occurs when the scripts are executed from the
startup-sequence sequentially.  However, when i execute these same scripts
from CLI individually, the same error doesn't occur.  Why is this?  

Help is appreciated.

jpotter@ucs.adelaide.edu.au (Jonathan Potter) (03/27/91)

It is, as far as I know, caused by the usage of < and > in a batch file for
redirection purposes. Unless you change it, the Execute command uses < and >
within batch files as bracket characters. Try adding these two lines to the top
of the batch file :

.bra {
.ket }

This will change the bracket characters to { and }, and allow you to use < and
> for redirection.

Jon