Tag Info

New answers tagged

3

Isn't DirectoryName @ $InputFileName the answer? path = FileNameJoin[{$TemporaryDirectory, "test.m"}]; Export[ path, "Print @ DirectoryName @ $InputFileName", "Text" ] Get @ path (...)\Local\Temp\



Top 50 recent answers are included