How can I change target of already existing symbolic link. Any solution would work: console, powershell,etc.
Important think is to make this change atomically so solution to delete link and then create a new one do not work for me.
This seems to be possible with the ZwFsControlFile
function using the FSCTL_SET_REPARSE_POINT
control code. At least that's what I gleaned from how Far Manager does it via Process Monitor.
You could use transactional NTFS. See the following functions:
The downside is that MS are deprecating support for transactions. In particular transactions are not available in the new file system being introduced in Windows Server 2012.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With