I have a file in the folder like "c:\a\abc.mdb"
Sometimes someone could move it to somewhere else and leave a shortcut like "c:\a\abc.mdb.lnk"
.
In that case when I call IO.File.Exists(@"c:\a\abc.mdb")
it still return true. In that case how can I verify if the real file exists, or whether the situation is:
- abc.mdb exists only
- abc.mdb.lnk exists only
- or both of them exists?