The Problem-
How often do you copy a file to another folder, or directory, or hard disk, because it is a good reference or example for that particular project? I do this all the time. And, I backup files the same way: highlight My Documents and send hundreds of files to a “storage” disk, folder named “My Documents”….. In a couple minutes a hard disk has lost 300mb to several Gb of free space. I have thousands of duplicates, triplicates, etc.; and even 10 copies of one file scattered over several folders, directories, and hard disks.
Don’t copy files. Just create a shortcut link to the file. It uses a couple mouse clicks more than the copy function but memory storage will love you … or, visa versa.
This “how-to” is created in response to the wonderful, and fast, response from Forum members Germ-x and Markus with solutions to some file record keeping issues I was having. Many thanks, and HTG rocks!
Running a duplicate file search showed an overwhelming mess, into many gigabytes of memory. A batch command in the duplicate finder was not the solution, because for my professional work I may need a photo in several folders. Or, a Word file referenced in more than one folder.
To the rescue for references (not cleaning the mess) is the file manager, Explorer> Create Shortcut.
Create a Shortcut-
Just open Explorer (not IE), go the file (image, doc, etc.) you don’t want to duplicate as a “copy” but need for the current project or as a permanent folder record (file). Highlight the file and right-click> Create Shortcut. A “Shortcut to xxx.xxx” link is created in the source folder. Then, drag the shortcut to the folder you want the reference in. (This is the same way Desktop icons to launch programs are created.) It’s only 1kb in size and will find and open the original source file. The source can be moved afterwards, too, and it will be found as long as the OS which the link was created on can track it.
Even network drives can have these link files if the folder and directory tree is comprehensive—it just means there is a record keeping problem, so keep the links to under a dozen, and IT won’t be screaming too loudly.
You can highlight several files and create batch shortcuts. This works great with photos, since those can be several Mb each.
The one problem with the default function, and what brought me to How-To Geek, is that the created shortcut is named “Shortcut to + the source file name”. I didn’t want “Shortcut to” strung down a folder list view when I was searching for a file to open; or, probably send to another folder. A batch rename only creates a single file name with (#) numbers appended to the file. Not a solution.
Get rid of “Shortcut to”-
The link file “Shortcut to” already has a leading identity icon that shows it is a .lnk file. Here is where Germ-x and Markus came to the rescue with links to off site articles and programs. To remove “shortcut to”, Facebook Support has a good how-to and is here:
http://www.facebook.com/note.p.....5306778588
In case the link does not work, the procedure follows:
Users who prefer the created shortcut to have the exact same name with the original object, without the – Shortcut suffix been appended or added to the end of the original file name or folder name can use the following registry trick to disable and turn off automatic appending or adding of ” – Shortcut” suffix to the end of shortcut name.
1. Run Registry Editor (RegEdit).
2. Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
3. In the right pane, double click on link registry value.
4. Change the “link” binary value data to 00 00 00 00.
5. Restart the computer.
With the trick, the suffix ” – Shortcut” will disappear and no longer append to the shortcut name when created. However, it does not change the existing shortcut names.
Note the the trick also works to remove “Shortcut To” prefix which is used to label to shortcut created in Windows XP or older Windows operating system.
Alternatively, copy and paste the following text to a text editor, save it as a file name with .reg extension, and run the file to merge the value to system registry,
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"link"=hex:00,00,00,00
-------------------
I need to add that you must left-click the “Explorer” folder to reveal the “link” registry value. The binary value will probably look like this: 00 05 00 00, or have something similar. Just edit to all zeroes. And, keep the same spacing.
Shazaam! I know what to do in the future. I just need to figure out how to clean up the mess I already have…. =(
Hbm, 2010-04-10
