BCX Console Demonstration Program S44.bas

 DIM A
 DIM S$
 
 S$ = COMMAND$(0)
 
 A = EXIST(S$)
 
 IF A THEN
   PRINT S$, " Exists."
 ELSE
   PRINT S$, " Does not exist."
 END IF