[Python] Modifying target paths of NTFS reparse points

Discussão em 'Python' iniciado por Stack, Agosto 3, 2025.

  1. Stack

    Stack Membro Participativo

    I need to modify the target paths of NTFS reparse points of type junction, directory symlink and file symlink.

    How can I do this in Python?

    I have been getting around this problem by creating new reparse points with Windows mklink with correct target paths, and then deleting the old reparse points and then doing some renaming. But I would much prefer to edit the reparse points in place.

    I would prefer solutions using ctypes over third party libraries for this.

    Continue reading...

Compartilhe esta Página