Windows cmd

Since Windows Vista, there is the ability to create (symbolic) links in Windows (yeah!).

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.

I used this nice feature to access iTunes with tow different user profiles on the same PC. How I did it:

first open an administrator shell

move c:\users\thorsten\music\iTunes c:\public\music\iTunes
mklink /D C:\Users\thorsten\Music\iTunes C:\Users\Public\Music\iTunes

Create the symbolic link for other user profile:

move c:\users\simone\music\iTunes c:\users\simone\music\iTunes.bak
mklink /D C:\Users\simone\Music\iTunes C:\Users\Public\Music\iTunes
windows/cmd.txt · Last modified: 2011-03 by tb
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready