title: Would implementing a Windows File System Minifilter Driver be appropriate in this case?
body: <p>I am looking for a better solution for the following situation:</p>
  
  <p>We use a third party Windows application that reads a set of initialization files from a special location on disk when launched. Different settings are needed depending on the use-case and thus far we have accomplished that by copying the correct files into the settings folder using a script before launching the application. We run the application in a batch build system but its intended use is to be used interactively using its GUI. The settings files are fetched from a source code repository.</p>
  
  <p>Copying files does not seem like a clean way to do this and I'd very much like to come up with a solution that allows me to redirect the application straight to the correct settings directory. Having read up on the subject I believe that a minifilter together with a user space application controlling which settings to use could most likely solve the problem.</p>
  
  <p>Just to make myself clear, given the following directories:</p>
  
  <p>(a) C:\Repos\Project1\Settings</p>
  
  <p>(b) C:\Repos\Project2\Settings</p>
  
  <p>(c) C:\Repos\Common\Settings</p>
  
  <p>(d) C:\Program Files\Application\Settings</p>
  
  <p>I want to hide the contents of (d) (if any) from one known application and replace it with a combination of the contents of ((a) and (c)) or ((b) and (c)). The way I propose to do this is through a redirecting File System Minifilter Driver and a user space application conveying information about what directories to handle.</p>
  
  <p><strong>* Is implementing a File System Minifilter Driver a viable solution in my case?</strong></p>