Jump to content

Recommended Posts


Posted

Hi esas,

I will try not to take the fun out of it for you.

You already have the code that finds the links and extracts their targets.

This code determines if a file exists.....

Dim objFSO, flname
flname = "c:\test.txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists (flname) Then
  msgbox "File exists"
Else
  msgbox "File does not exist"
End If

and this code deletes a file...

objFSO.DeleteFile (flname)

so... get the link name, check if the target file exists, if not delete the link. 1-2-3

have fun

post again if you still have questions

dman

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...