Saturday 10 February 2018

windows 7 - How do I mklink junction + move content from C:Program Files to D:Program Files?


I have a few applications that absolutely refuse to install into anything but C:\Program Files or C:\Program Files(x86). Changing the registry keys for default install folders doesn't seem to provide any satisfaction and so now I'm wondering about throwing a NTFS junction in there to force these pesky applications to cooperate.


There are files currently in use within Windows so it's quite likely I am not going to be able to do this within the active OS. Is there some bootable Windows 7 system tools that would allow me to make this happen? Seems I will need the ability to copy files (with permissions!) from one drive to another, as well as make the junction for Windows.



Answer



Yes, you can create a link via mklink /j "C:\Program Files\foo1" "E:\foo1" if the application doesn't support it directly. I do this for Steam Applications (games) and it works quite well.


As far as utilities that allow you to do this, have you tried Safe Mode?


This link describes using xcopy to preserve attributes


Also, make sure to run a command prompt with Administrative privileges. You'll need cmd.exe for mklink (as its not directly available in powershell)


Hope this helps!


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...