Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • $\begingroup$ I think it's a scoping issue, because this works outside of a Module: directory = NotebookDirectory[] <> "/save/"; DumpSave[directory <> "test.mx", {z, f, list}]; SetDirectory[directory]; << test.mx $\endgroup$ Commented Sep 19, 2023 at 14:27
  • 1
    $\begingroup$ Yes it works outside Module. That's why I thought it was relevant enough to create the question :) $\endgroup$ Commented Sep 21, 2023 at 9:09
  • $\begingroup$ I guess you may try creating a package. reference.wolfram.com/workbench/index.jsp?topic=/… $\endgroup$ Commented Feb 10 at 20:24