In my last company, we used to keep build/kits of various modules in Windows machine (Weird idea but still)
We use to maintain backups by always creating new folders and storing only those modules which had changed (idea was to save disk space). Of course there use to be a excel sheet that should be updated with the changes but you know human nature.
Now the problem, that our IT Dept. use to face while installing the servers was, they have to always look for old folders to get unchanged modules or eat our heads to find for them.
I use to wonder if we could have a softlink like linux/unix box so that each folder has latest copy without actually copying the old unchanged kits.
Today while surfing I came across a Windows 7 feature that can help.
How:
C:\Windows\system32>mklink
Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link
refers to.
C:\Windows\system32>
Example:
C:\Users\Software>mklink /D c:\try C:\Users\Software\Desktop
symbolic link created for c:\try <<===>> C:\Users\Software\Desktop
Result:
c:\>dir try /P
Volume in drive C has no label.
Volume Serial Number is AA62-FA12
Directory of c:\try
11-09-2012 13:27 <DIR> .
11-09-2012 13:27 < DIR> ..
27-08-2012 14:23 85,454 10075600.pdf
27-08-2012 14:30 85,532 10075688.pdf
.
.
.
.
Press any key to continue . . .
Enjoy....
We use to maintain backups by always creating new folders and storing only those modules which had changed (idea was to save disk space). Of course there use to be a excel sheet that should be updated with the changes but you know human nature.
Now the problem, that our IT Dept. use to face while installing the servers was, they have to always look for old folders to get unchanged modules or eat our heads to find for them.
I use to wonder if we could have a softlink like linux/unix box so that each folder has latest copy without actually copying the old unchanged kits.
Today while surfing I came across a Windows 7 feature that can help.
How:
C:\Windows\system32>mklink
Creates a symbolic link.
MKLINK [[/D] | [/H] | [/J]] Link Target
/D Creates a directory symbolic link. Default is a file
symbolic link.
/H Creates a hard link instead of a symbolic link.
/J Creates a Directory Junction.
Link specifies the new symbolic link name.
Target specifies the path (relative or absolute) that the new link
refers to.
C:\Windows\system32>
Example:
C:\Users\Software>mklink /D c:\try C:\Users\Software\Desktop
symbolic link created for c:\try <<===>> C:\Users\Software\Desktop
Result:
c:\>dir try /P
Volume in drive C has no label.
Volume Serial Number is AA62-FA12
Directory of c:\try
11-09-2012 13:27 <DIR> .
11-09-2012 13:27 < DIR> ..
27-08-2012 14:23 85,454 10075600.pdf
27-08-2012 14:30 85,532 10075688.pdf
.
.
.
.
Press any key to continue . . .
Enjoy....