Every time I open Mathematica, it creates a "Wolfram Mathematica" folder in my documents folder. But I keep all my Mathematica stuff in the directory "C:/.../Documents/Code/Wolfram Mathematica". How can I make it so Mathematica recognizes this folder instead, and doesn't continue to create its own folder in Documents?

  • $\begingroup$ You'll have to set it at the OS level to get it to change where that's made. See this. You can also put something in your init.m file that removes this directory. $\endgroup$
    – b3m2a1
    Sep 21, 2017 at 1:14
  • $\begingroup$ I can't find an init.m, only a sysinit.m. But it is not allowing me to edit this document. $\endgroup$
    – Joe
    Sep 21, 2017 at 1:37
  • 1
    $\begingroup$ Possible locations for init.m are listed under "Details" in the documentation for init.m. If you don't already have an init.m, create one. $\endgroup$
    – LouisB
    Sep 21, 2017 at 3:40
  • 1
    $\begingroup$ There may be no way to change this variable. I'd expect that the directory is created by the FE, not the kernel, but I have not tested it and cannot test it because I am on Windows (@LouisB) $\endgroup$
    – Szabolcs
    Sep 22, 2017 at 18:57
  • 1
    $\begingroup$ Almost a duplicate: mathematica.stackexchange.com/q/89369/12 Also: community.wolfram.com/groups/-/m/t/573855 (asked twice but no good solution) $\endgroup$
    – Szabolcs
    Sep 22, 2017 at 19:01


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.