[Coco] OS9 Script Error Handling or File Testing ?

coco at jechar.ca coco at jechar.ca
Sat Jun 27 11:58:09 EDT 2020


  I want to make a script that will create some directorys and
  then do other things in those directorys. The problem is that
  maybe these directorys already exist causing the script to
  end prematurely with ERROR 218.

  I am running shell_21.

  Is there any way to tell the script just ignore errors and go to
  the next instruction anyway or is there a command or utility to
  test for the existence of a directory and allowing for conditional
  execution.

  Charlie


More information about the Coco mailing list