Henry,
SET SAFETY OFF will turn off confirmation dialog. Also, ZAP command expects alias not table name as parameter. This parameter is optional if you're ZAPping table in the current work area.
>Hi all:
>
>A prg file has code like:
>
>
use fileA exclusive
>zap "c:\MyDirectory\fileA"
>
>use fileb exclusive
>zap "c:\MyDirectory\fileB"
>
>Problem: When I execute the prg file, VFP keeps asking me to confirm zapping each file. What should I do to turn that off so that, VFP simply zaps as requested without further confirmation. The same seems to be happenning when overwriting a table.
>
>Thanks in advance.
--sb--