Step 1: Create isItaLink.bat.
Click Start, type notepad and press Enter.
Copy and paste the following RED lines into the Notepad window:
fsutil hardlink list %*
pause
Save the files as isItaLink.bat in a folder you will be keeping.
Step 2: Create AddisLink.reg as follows:
Click Start, type notepad and press Enter.
Copy and paste the following RED lines into the Notepad window:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\isLink]
@="Is This a Link"
[HKEY_CLASSES_ROOT\*\shell\isLink\command]
@="\"C:\\xxxxxxxx\\isItaLink.bat\" \"%1\""
Note: Change xxxxxxxx to the folder you put isItaLink.bat in.
Step 3: Merge into the registry
Merge AddisLink.reg into the registry by double clicking on it or right clicking and select Merge.
To use, open Windows Explorer and navigate to the file you are interested in,
Right click on it and select Is This a Link.
A Command Prompt window will open with the results.
For instance, if I do this for C:\Windows\explorer.exe, I get the following:
This means C:\Windows\explorer.exe does not really exist, it's actually a hardlink to \Windows\WinSxS\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.2.9200.16628_none_aac334d9034c59e1\explorer.exeC:\Windows>fsutil hardlink list "C:\Windows\explorer.exe"
\Windows\WinSxS\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.2.9200.16628
_none_aac334d9034c59e1\explorer.exe
\Windows\explorer.exe
C:\Windows>pause
Press any key to continue . . .
If I do this with C:\Windows\system32\MRT.exe, I get:
This means MRT.exe is not a hardlink and is physically contained in the C:\Windows\system32 folder.C:\Windows\System32>fsutil hardlink list "C:\Windows\System32\MRT.exe"
\Windows\System32\MRT.exe
C:\Windows\System32>pause
Press any key to continue . . .
Edited by Ztruker, 03 March 2014 - 09:23 PM.