I've built a rig with a small SSD for C: which I want to be pretty much only for the OS, and a HDD D: drive. Problem is, even when I tell them to install and run from D: a lot of programs keep sending stuff to C: anyway, which constantly fills it up. In short, can I somehow tell any program when it opens a folder "go here"? Is there some sort of script I can write for it or setting I can tweak?
Unlike other questions, this is more about being proactive about installing new programs on a new machine rather than rebuilding an existing machine or moving files around. I'm running Windows 10 (home). EDIT: This question applies to things like globally installed software/plugins and databases as I'm a web developer. (To be specific, NPM and other Node.js dependencies for the former and MongoDB for the latter).
C:\Program Files
,C:\Program Files (x86)
,C:\ProgramData
andC:\Users
into links pointing at corresponding directories onD:
, then nearly all installed programs and data will go intoD:
. Some installers add files to the Windows directory, and these will of course go intoC:
.