Creating symlink for C:\Program Files

5,423

Yes, Done this with 2 computers.

mklink /j Link Target

Share:
5,423

Related videos on Youtube

th3falc0n
Author by

th3falc0n

I am Fabian Sachara. I am a student from Germany and very interested in natural sciences. My first programming language was C++ (when I was 6). My main interests are: Web development Game development Cluster and Cloud computing Hardware programming

Updated on September 18, 2022

Comments

  • th3falc0n
    th3falc0n almost 2 years

    Is it possible to create a symbolic link in Windows that redirects C:\Program Files to another drive?

    • gronostaj
      gronostaj over 10 years
      Googling tells me that a NTFS junction should work, but I haven't tested it myself.
  • th3falc0n
    th3falc0n over 10 years
    How did you do this? I can't rename C:/Program Files and JunctionMaster tells me it is unable to reloacte C:/Program Files
  • cybernard
    cybernard over 10 years
    @th3falc0n You have to use a bootable DVD preferable the Windows 7 install DVD.(msft.digitalrivercontent.net/win/X17-24394.iso) Select Repair then Command Prompt. rename "Program Files" x then mklink /j "c:\Program Files" "d:\program files" Now use xcopy /h /e /c c:\x*.* "d:\Program Files\"
  • v.oddou
    v.oddou over 9 years
    .net framework installer detects that the relocation is on a different partition and refuses to install. it works for installer that do not want to be overly zealous about paranoid about checking everything and trying to be super-aware of stuff it doesn't have to be. (hint: this is what a bloated microsoft installer does)