¿ªÔÆÌåÓý

LTspice 24.1.4 - Directory for temp files


 

The option to save temp files in schematic directory has disappeared.
?
The setting defaults to:
?
Directory for temp files[*]
?
C:\Users\(username)\AppData\Local\Temp
?
If I clear the path (thinking it would default to the schematic directory), the default path
is re-applied after clicking OK and reopening the settings
?
I tried clearing the path, then entering a "*" (asterisk). I pressed enter and LTspice promptly killed itself.? :-|
?


 

On Sun, Mar 2, 2025 at 09:01 AM, eetech00 wrote:
The option to save temp files in schematic directory has disappeared.
?
The setting defaults to:
?
Directory for temp files[*]
?
C:\Users\(username)\AppData\Local\Temp
?
If I clear the path (thinking it would default to the schematic directory), the default path
is re-applied after clicking OK and reopening the settings
?
I tried clearing the path, then entering a "*" (asterisk). I pressed enter and LTspice promptly killed itself.? :-|
?
?
Adding to this....
?
The path displayed in settings is:
?
C:\Users\(username)\AppData\Local\Temp
?
But the actual path used is:
C:\Users\(username)\AppData\Local\LTspice\Temp
?
??? :-|
?


 

¿ªÔÆÌåÓý

That's simply a slip in writing the Settings text. Report it to ADI.

On 2025-03-02 17:08, eetech00 via groups.io wrote:
The path displayed in settings is:
?
C:\Users\(username)\AppData\Local\Temp
?
But the actual path used is:
--
OOO - Own Opinions only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion

Virus-free.


 

It¡¯s more than that¡­
The field setting is wrong.


 

¿ªÔÆÌåÓý

On 02/03/2025 18:01, eetech00 via groups.io wrote:
The option to save temp files in schematic directory has disappeared.
?
The setting defaults to:
?
Directory for temp files[*]
?
C:\Users\(username)\AppData\Local\Temp
?
If I clear the path (thinking it would default to the schematic directory), the default path
is re-applied after clicking OK and reopening the settings
?
I tried clearing the path, then entering a "*" (asterisk). I pressed enter and LTspice promptly killed itself.? :-|
I simply typed in an alternate path, and it was accepted and saved. Close and re-start, setting remembered.

--
Regards,
Tony


 

Yes...you can do that.
But I don't want to do that for every schematic.


 

Can you type .\ ?


 

On Sun, Mar 2, 2025 at 11:31 AM, Andy I wrote:
Can you type .\ ?
?
?
Yes....but no effect.


 

Hmm.
?
Not saved?? Not used?


 

On Sun, Mar 2, 2025 at 12:00 PM, Andy I wrote:
Hmm.
?
Not saved?? Not used?
?
It is saved, but it is ignored.
?
The log file is still saved in:
C:\Users\(username)\AppData\Local\LTspice\Temp


 

On Sun, Mar 2, 2025 at 12:01 PM, eetech00 wrote:
The option to save temp files in schematic directory has disappeared.
I am a little confused why this matters to you.
?
According to LTspice's Help, the files that would be temporarily saved in the "Directory for Temporary Files", are files that are downloaded during a Sync Release update.? And only for that.? I can't see any good reason for wanting them saved in the current schematic's folder.
?
As far as I know, LTspice does not do temporary files while running a simulation.? It saves a .NET file before the simulation begins (which you might call temporary), and it saves the .LOG and .RAW and .FFT and .PLT files, but all these are always saved in the schematic's directory anyway - unless overridden by a different setting in the Waveforms tab.
?
Do you really need to change the "Directory for Temporary Files"?? I suggest probably not - and almost definitely not changing it to the current schematic's directory.
?
Andy
?


 

On Sun, Mar 2, 2025 at 03:35 PM, eetech00 wrote:
It is saved, but it is ignored.
How can you tell?? You would need to catch it right after starting a Sync Update, and then hope that the temporary files it creates are visible.? IIRC, Windows is apt to create temporary files that you normally can not see from Windows Explorer, even with the "Show hidden files" setting enabled.? There's "hidden", and then there is "really hidden".
?
The log file is still saved in:
C:\Users\(username)\AppData\Local\LTspice\Temp
Hmm.? Well, that is new behavior.
?
Also the .LOG file is not a "temporary" file, at least not by my definition.? So it would not be affected by that setting anyway.
?
Andy
?


 

On Sun, Mar 2, 2025 at 12:44 PM, Andy I wrote:
On Sun, Mar 2, 2025 at 12:01 PM, eetech00 wrote:
The option to save temp files in schematic directory has disappeared.
I am a little confused why this matters to you.
?
According to LTspice's Help, the files that would be temporarily saved in the "Directory for Temporary Files", are files that are downloaded during a Sync Release update.? And only for that.? I can't see any good reason for wanting them saved in the current schematic's folder.
?
Agreed.
?
?
As far as I know, LTspice does not do temporary files while running a simulation.? It saves a .NET file before the simulation begins (which you might call temporary), and it saves the .LOG and .RAW and .FFT and .PLT files, but all these are always saved in the schematic's directory anyway - unless overridden by a different setting in the Waveforms tab.
?
Agreed. But it not in 24.1.4
I've selected "Reset to default values'. The field shows "C:\Users\user01\AppData\Local\Temp".
I then shut down LTspice, re-started LTspice, ran the sim.
The .LOG and .RAW files are now saved to:
?
C:\Users\user01\AppData\Local\LTspice\temp
?
Which is not what is shown in the field.
?
?
?
Do you really need to change the "Directory for Temporary Files"?? I suggest probably not - and almost definitely not changing it to the current schematic's directory.
?
Andy
?
?
If I remember correctly, a while back this same topic came up. The raw files wanted to be saved in a different directory for "speed" purposes. Changing the value of the temp file location relocated the raw files, but it also inconveniently relocated the log and net files. There were a few members that didn't like that, including me.
So when you write "temp files" what are you referring to? I didn't think that ADI meant only down loaded update files.
?
But...right now I need to figure out how to reset the destination back to saving them into the current schematic directory.
?


 

On Sun, Mar 2, 2025 at 04:17 PM, eetech00 wrote:
I've selected "Reset to default values'. The field shows "C:\Users\user01\AppData\Local\Temp".
I then shut down LTspice, re-started LTspice, ran the sim.
The .LOG and .RAW files are now saved to:
?
C:\Users\user01\AppData\Local\LTspice\temp
?
Which is not what is shown in the field.
But those are not Temporary Files.? Therefore, they are unaffected by that setting.
?
Check your settings > Waveforms tab.? Have you set a "Directory for .raw and .log data files"?? That is the setting that controls where those files go.
?
Most people leave that setting blank, and all older versions of LTspice would leave them saved in the schematic's directory.? Has that now changed in the newest version so that a blank (or un-checked) entry causes them to be saved to an alternate location anyway?? If so, then that's a bug and should be reported.
?
If I remember correctly, a while back this same topic came up. The raw files wanted to be saved in a different directory for "speed" purposes. Changing the value of the temp file location relocated the raw files, but it also inconveniently relocated the log and net files. There were a few members that didn't like that, including me.
Yes, and that appears to be intentional.? ("Directory for .raw and .log data files")
?
I remember some of that discussion, and I think it involved .plt files too, but I might be remembering incorrectly.

So when you write "temp files" what are you referring to? I didn't think that ADI meant only down loaded update files.
They do, according to LTspice's Help.? Temporary files do not mean the regular output data files.? Those are not temporary.
?
I think you just remembered the wrong setting.? No problem about that.? Go to the Waveforms tab to find the one you want.
?
Andy
?


 

On Sun, Mar 2, 2025 at 04:17 PM, eetech00 wrote:
I've selected "Reset to default values'. The field shows "C:\Users\user01\AppData\Local\Temp".
My recollection about "Reset to Default Values" is that might apply only to the tab that is currently selected when you click that button.
?
Thus, clicking "Reset to Default Values" when you are in the Operations tab, would not affect the settings in the Waveforms tab.
?
But my memory might be faulty.
?
Andy
?


 

On Sun, Mar 2, 2025 at 01:30 PM, Andy I wrote:
Check your settings > Waveforms tab.? Have you set a "Directory for .raw and .log data files"?? That is the setting that controls where those files go.
?
Most people leave that setting blank, and all older versions of LTspice would leave them saved in the schematic's directory.? Has that now changed in the newest version so that a blank (or un-checked) entry causes them to be saved to an alternate location anyway?? If so, then that's a bug and should be reported.
?
If I remember correctly, a while back this same topic came up. The raw files wanted to be saved in a different directory for "speed" purposes. Changing the value of the temp file location relocated the raw files, but it also inconveniently relocated the log and net files. There were a few members that didn't like that, including me.
Yes, and that appears to be intentional.? ("Directory for .raw and .log data files")
?
I remember some of that discussion, and I think it involved .plt files too, but I might be remembering incorrectly.

So when you write "temp files" what are you referring to? I didn't think that ADI meant only down loaded update files.
They do, according to LTspice's Help.? Temporary files do not mean the regular output data files.? Those are not temporary.
?
I think you just remembered the wrong setting.? No problem about that.? Go to the Waveforms tab to find the one you want.
?
Andy
?
?
Ok....you are correct....I was looking at the wrong tab.?? :-(
?
Mystery solved...
?
Thank you sir...
?