Harbour Reference Guide

 

ERASE

Remove a file from disk

Syntax

ERASE <xcFile>

Arguments

<xcFile> Name of file to remove

Description

This command removes a file from the disk.The use of a drive,directo- ry,and wild-card skeleton operator is allowed for the root of the filename.The file extension is required.The SET DEFAULT and SET PATH commands do not affect this command.

The file must be considered closed by the operating system before it may be deleted.
Examples
      Erase c:\autoexec.bat
      Erase c:/temp/read.txt
Status

Ready

Compliance

This command is CA-Clipper compatible

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30