GSAK (Geocaching Swiss Army Knife)
Contents - Index

FileErase (command)

FILEERASE <File=FileName> [<OnError=Abort|Prompt|Continue>]

This command allows you to delete files natively from the macro language. Optional OnError token (default is abort):

File = The absolute path to the file(s) to delete.  Wild cards are supported.
OnError = Action to take if files can't be deleted:

Abort - If there is an error deleting the file GSAK stops the macro with the familiar error box. The macro cannot proceed and will abort after clicking on OK.
Prompt - The macro will bring up a pause dialog showing the error giving you the option to continue or abort
Continue - The error is ignored and the macro automatically continues to the next line without any error messages or intervention.

Note: This command does a "hard erase" by deleting the file - it is not sent to your recycle bin. 

Alpha List         Category List

Copyright 2004-2016 CWE Computer Services  
Privacy Policy Contact