Message 1 of 16
Delete File

Not applicable
10-16-2007
10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am deleting a file use FSO...
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(sExistingDoc) Then
filesys.DeleteFile sExistingDoc
End If
The problem is the directory does not refresh, has to be refreshed manually. Does any one know how to refresh the directory?
Windows XP, Autocad 2000i
Dim filesys
Set filesys = CreateObject("Scripting.FileSystemObject")
If filesys.FileExists(sExistingDoc) Then
filesys.DeleteFile sExistingDoc
End If
The problem is the directory does not refresh, has to be refreshed manually. Does any one know how to refresh the directory?
Windows XP, Autocad 2000i