The little secrets of the win7 folder that you didn't know about

  

And with more and more software installed in Windows, more and more "user-generated files" will be saved in the "user files". Clips & rdquo; If you don't know the little secrets of the win7 folder, you can't use the win7 system very well, so today, follow the small series and walk into the world of win7 folder.

We know that viewing a directory has The quickest way is to look at the properties of the Explorer folder, but what I am saying today is: If you use this method to look at the Windows Vista /Windows 7 system directory, you will be deceived by your eyes. Because Microsoft students use one of the features of the NTFS file system in Windows Vista/Windows 7: Hard Link (Hard Link) to implement the WinSxS mechanism!

People who have used it know that to install Windows Vista /Windows 7 system, then the system partition must be NTFS file system. The reasons are as follows: system file protection required; various security protection mechanisms, such as MIC required; WinSxS required ……

About the last point of WinSxS required, so NTFS this is Windows Vista /A condition required by Windows 7 systems, because the hard-wired mechanism can only be implemented on the NTFS file system, and the purpose of optimizing the Windows directory to occupy disk space can be achieved.

Hard links about Microsoft systems

What is a hard link? Simply put, it is a special shortcut for files, but the implementation of this shortcut and general shortcuts The way is different.

Hard links are one of the unique properties of the NTFS file system. Under Linux, there are similar mechanisms. Hard links are available at the file level of the same volume, and hard links are not cross-volume.

Hard Links, System Property Tests

Windows Vista /Windows 7 comes with the command to create a hard link: mklink.exe, with this command, we can create a hard link to the specified file:

The following command will establish a hard connection between link.txt and source.txt

C:\\Users\\hoii\\Desktop"mklink /h link.txt gb.txt

Created a hard link for link.txt "===" gb.txt

Note the above example: link.txt is a non-existent file, but when the mklink command is executed Later, the link.txt file will be created. In fact, link.txt is a fake file, which is a mapping to the gb.txt file at the file system level, and link.txt does not occupy hard disk space. Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved