5

When using the Restart Manager, if I add a path to RmRegisterResources that is currently opened as the current working directory in a command prompt window, RmGetList doesn't return it, but instead returns info about other locked files (e.g., an executable loaded in WinDBG).

Why is that so?

If I try to delete this folder, I get an error 32: ERROR_SHARING_VIOLATION, which is why I used the Restart Manager to identify the processes that are preventing me from deleting files and folders.

zx485
  • 28,498
  • 28
  • 50
  • 59
MAD
  • 1,549
  • 1
  • 9
  • 5
  • 5
    Are you sure that `RmRegisterResources()` supports folder paths to begin with? Everything I have read about it only mentions files, not folders. – Remy Lebeau Feb 07 '14 at 03:50
  • Ha! Good point... I didn't think about that... Thanks! – MAD Feb 07 '14 at 11:43

0 Answers0