Pages

Tuesday, July 10, 2012

How to make a symlink in Windows 7


  1. open cmd (as an admin)
  2. type:
mklink /d linkpath targetpath

example:

mklink /d c:\easytoremember c:\users\neil\local\applicationdata\temp\hardtoremember

2 comments:

  1. Sweet! 2 Questions though...

    1) will this show up in directory listings?
    2) how to kick this off automatically with windows (so I don't have to define each time after startup?) - it's been YEARS since I played with DOS.

    ReplyDelete
  2. 1) yes, it looks like a shortcut icon
    2) this is permanent, so you don't have to redo it at startup

    ReplyDelete