Domi Posted January 6, 2005 Share Posted January 6, 2005 I have seen the FILE_EXISTS what is the syntaxis if it does not exist (or how do you check for ToB not installed?) Link to comment
Kish Posted January 6, 2005 Share Posted January 6, 2005 ACTION_IF FILE_EXISTS ~filename~ THEN BEGIN END ELSE BEGIN WHATEVER_YOU_WANT_TO_DO_IF_THE_FILE_DOESNT_EXIST Link to comment
CamDawg Posted January 6, 2005 Share Posted January 6, 2005 With any predicate, you can precede it with NOT for a negative condition, i.e. ACTION_IF NOT FILE_EXISTS ~data/25dialog.bif~ THEN BEGIN would execute if ToB was not present. edit: Kish types faster. Link to comment
Andyr Posted January 6, 2005 Share Posted January 6, 2005 You need an END after what Kish typed, too, to finish the section. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.