Over.Kill Posted March 30, 2011 Share Posted March 30, 2011 (edited) I'm looking for a way to create two paths on the file system (NTFS, if you were wondering) that reference the same block of data. Example:D:\Drivers\Windows 7 x64\NVIDIA\Forceware.exeD:\Drivers\Windows Vista x64\NVIDIA\Forceware.exeBoth are seen and run as executables, so that they don't effect permissions for network users and the like, but only 130MB is taken up on the drive instead of 260MB.I could probably get away with the following but it will make things longer for the scripts I'm going to write to make everything nice and cohesiveD:\Drivers\BIN\NVIDIA\FW266.58.exeD:\Drivers\Windows 7 x64\NVIDIA\ForceWare.lnk --> D:\Drivers\BIN\NVIDIA\FW266.58.exeD:\Drivers\Windows 7 x64\NVIDIA\ForceWare.lnk --> D:\Drivers\BIN\NVIDIA\FW266.58.exeSuggestions? Links? Solutions?Thanks,Overkill Edited March 30, 2011 by Over.Kill Link to comment Share on other sites More sharing options...
Glenn9999 Posted March 30, 2011 Share Posted March 30, 2011 (edited) Put the file in a central location you can remember (i.e. this is the real file) and then create hard links for the other spots. either mklink (Vista and above) or fsutil will be useful to look into for this purpose. Edited March 30, 2011 by Glenn9999 Link to comment Share on other sites More sharing options...
Over.Kill Posted March 30, 2011 Author Share Posted March 30, 2011 Thanks Glenn, that's what I was looking for. It's been a while since I had to do this and totally forgot what they were called. mklink was what I needed! Link to comment Share on other sites More sharing options...
Over.Kill Posted March 30, 2011 Author Share Posted March 30, 2011 (edited) Here's how I am going to do the setup:Originals:D:\Drivers\BIN\NVIIDA\GT8600\Forceware (X).exeD:\Drivers\BIN\NVIDIA\GT8600\Forceware (V7x64).exeD:\Drivers\BIN\NVIDIA\GT8600\Forceware (V7x86).exeHard Links:D:\Drivers\XP\NVIDIA\GT8600\Forceware.exeD:\Drivers\Vx64\...\Forceware.exeD:\Drivers\7x64\...\Forceware.exeetcIf I update the file at the original path, will the hard link automatically be refreshed or do I have to re-link (IE: does the link point to the original path or to the block of data itself?) Edited March 30, 2011 by Over.Kill Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now