Creation of hardink in Windows
Solution:
This could be achieved by running the following on DOS prompt:
fsutil hardlink create c:\hlink.txt c:\log.log
Output of this command is:
Hardlink created for c:\hlink.txt <<===>> c:\log.log
Thus hlink.txt file is now a hardlink file for log.log.
Any changes made in log.log would reflect in hlink.txt file and vice-versa.
Also if any one file is deleted the other can be used as all contents would still be present in the other file.
No comments:
Post a Comment