|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWDeleteAFile |
Deletes a file into a given directory.
Sub DBWDeleteAFile(FullFileName)
FullFileName |
The full name of the file to delete |
If the file is in a read only state, the state is changed before deleting
File2Del = "c:\users\john\my documents\letters\my letter.doc"
DBWDeleteAFile Replace(File2Del," ","|")