DBWDeleteAFile

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > File >

DBWDeleteAFile

Description

Deletes a file into a given directory.

Syntax

Sub DBWDeleteAFile(FullFileName)

Parameters

FullFileName

The full name of the file to delete

Remarks

If the file is in a read only state, the state is changed before deleting

Example

File2Del = "c:\users\john\my documents\letters\my letter.doc"
DBWDeleteAFile Replace(File2Del," ","|")