locked
VB.net reports file.exists=true after file is deleted using Explorer RRS feed

  • Question

  • In VB.net, "File.Exists" returns true even after the file was renamed, moved or deleted in Explorer.  The file can be opened and read, even though it is not visible in Explorer and does not appear in searches.

    Is it possible that VB.net is using a shadow copy?


    BTW - the path for the file was C:\Program Files\XBMC\userdata\Database\MyVideos34.db

    File.Exists reports false when the same test is performed outside the Program Files folder
    • Edited by Xygxag Thursday, July 2, 2009 2:45 PM
    Thursday, July 2, 2009 2:14 PM