0

I have several .mx files containing data saved to disk via DumpSave. I load a list of these files in my folder as

SetDirectory[NotebookDirectory[]];
files = FileNames[All, ".\\data", Infinity];

Now I was trying to load them via

<< files[[1]]

or

<< ToExpression[files[[1]]]

or even

<< Evaluate[ToExpression[files[[1]]]]

none of which have worked. How can I load an .mx file using a string of its path?

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
Kagaratsch
  • 11,955
  • 4
  • 25
  • 72

0 Answers0