If you could do that, it would be the system-maintainer's Holy Grail.
Basically impossible since there are so many places that a reference to the
directory could be stored, in shortcuts, in the registry, in .ini files,
maybe even in an SQL database.
The solution lies in avoiding this situation, and on networks it's one of
the most powerful arguments for using centrally-determined mapped drives
instead of allowing people to create UNC shortcuts to network resources.