Windows XP:
Command Junction
Win7:
Command mklink
What are the advantages of the above commands?
Place unnecessary folders of drive C on another disk, and create a link (hypothetical) in the original location without consuming space.
Free up disk C Space
For example, the Temporary Folder is on drive C, and many of your junk files are in the temp folder.
Operation:
1. You can remember its Directory
XP system: % USERPROFILE % \ Local Settings \ Temp
Win7 SYSTEM % USERPROFILE % \ appdata \ Local \ Temp
No, it can be found on my computer -- Advanced -- environmental variables --
2. Delete the temp Temporary Folder (if other folders are cut to the root directory of drive D)
3. Create a temp folder on disk D, that is, D: \ temp.
4. Create a link
XP:
Start -- run cmd --> mklink/D "% USERPROFILE % \ appdata \ Local \ Temp" "D: \ Temp"
Win7:
Start -- run cmd --> junction/D "% USERPROFILE % \ appdata \ Local \ Temp" "D: \ Temp"
-----------------------------------------------------------------------------
Mklink in win7
Junction must be installed in XP
: Http://download.sysinternals.com/Files/Junction.zip (only 78 K)
Download the package and place it in the windows \ system32 directory.
The advantage is that temp files have a large space on drive C of drive D.
Likewise
For example, if you use chrome and Dropbox
You can use it to synchronize your chrome information, including bookmarks, extended search information, record passwords, etc.
Steps:
1. Cut the folder % USERPROFILE % \ appdata \ Local \ google \ chrome \ User Data \ default.
2. copy to the E: \ Dropbox \ Folder
3. Execute the following command
Win7:
CMD --> mklink/D "% USERPROFILE % \ appdata \ Local \ google \ chrome \ User Data \ default" "E: \ Dropbox \ default"
XP:
CMD --> junction/D "% USERPROFILE % \ Local Settings \ Application Data \ google \ chrome \ User Data \ default" "E: \ Dropbox \ default"
The addition, deletion, modification, and query of the two directories will change and keep in mind the operation.
% USERPROFILE % \ Local Settings \ Application Data \ google \ chrome \ User Data \ default
And
"E: \ Dropbox \ default"
Effect at a glance
My Dropbox invitation link needs to go through the wall
250 m for you and M for me
How to cancel it:
First, copy the Temporary Folder of drive D or defalult in Dropbox to another place, then delete the soft link, and then copy the temp folder or default from another place to the corresponding directory, that is, % USERPROFILE % \ Local Settings \ temp. directory (first example) or % USERPROFILE % \ Local Settings \ Application Data \ google \ chrome \ User Data \ directory (Example 2)