OSDELETE

OSDELETE

Top  Previous  Next

 

The OSDELETE deletes an operating system file or directory by pathname.

 

 

Format

 

OSDELETE path

 

where

 

pathis the pathname of the file or directory to be deleted.

 

 

The OSDELETE statement provides a simple way for a program to delete an operating system file or directory by pathname. No error will be reported if the action fails.

 

OSDELETE takes no part in the locking system. It is up to the application developer to ensure that concurrency issues are handled appropriately.

 

 

 

Example

 

OSDELETE 'C:\FAXLOG'

 

This statement deletes an operating system file with pathname C:\FAXLOG.

 

 

See also:

OSREAD, OSWRITE