Ideally this should be done before habitat is installed:
- Create an empty
habfolder on the drive where you want to keep all hab data
- Create a junction on the system drive that points to the above
New-Item -ItemType Directory -Path D:\hab New-Item -ItemType Junction -Path (Join-Path $env:SystemDrive hab) -Target D:\hab
Completing these two steps should result in all data that habitat writes to
c:\hab actually being saved to the other drive.
If this is being done on a system where hab had already been installed and packages already downloaded:
- stop the supervisor and any studios
c:\habto the drive where you want hab to reside
- Create the junction on the system drive pointing to this new folder as shown above.