Replace files with symlink

Posted by soandos on Super User See other posts from Super User or by soandos
Published on 2014-05-26T19:37:33Z Indexed on 2014/05/26 21:35 UTC
Read the original article Hit count: 229

This question is intended to be the inverse of Replace Symbolic Links with Files, but for windows.

I have started running out of space on my SSD drive, and I found that about 12% of used space is in my installer folder (holds the .msi files for all the programs that I have installed)

I am looking for two things:

  1. A way to move this (or any) folder via symlink. Ideally, some powershell function that I could use to just designate a folder, a destination, and the symlink would be created in the original (pointing to the destination)
  2. In this particular case, a registry change that would allow the location to be move would also be helpful, but I would still prefer solution 1.

How can this be done?

© Super User or respective owner

Related posts about windows-8

Related posts about powershell