Script DELETE Statement

DELETE <file name>

The DELETE statement deletes a specific file. For example:

_filename = <oldfile.txt>
DELETE _filename

deletes the file named oldfile.txt from the Uscripts folder. To delete a file from a different folder, give the full path.

If an error occurs, the _$filerror system variable is non-zero.

Copyright © 2017 American Chemical Society. All Rights Reserved.