S
Sash
I'm trying to check a directory for tif files and if they exists, I want to
get rid of them all. Here's what I tried, but it doesn't work.
dirPath = Dir("D:\02691568\Temp\*.tif", vbDirectory)
If Not IsNull(dirPath) Then
Kill "D:\02691568\Temp\" & "*.tif"
End If
get rid of them all. Here's what I tried, but it doesn't work.
dirPath = Dir("D:\02691568\Temp\*.tif", vbDirectory)
If Not IsNull(dirPath) Then
Kill "D:\02691568\Temp\" & "*.tif"
End If