Forums

cleanup batch file for LT Spice

Started by John Larkin February 28, 2012

This is _Cleanup.bat


rem  LT Spice cleanup batch file

DEL *.log
DEL *.raw
DEL *.op.raw



-- 

John Larkin, President       Highland Technology Inc
www.highlandtechnology.com   jlarkin at highlandtechnology dot com   

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME  analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin
<jjlarkin@highNOTlandTHIStechnologyPART.com> wrote:

> > >This is _Cleanup.bat > > >rem LT Spice cleanup batch file > >DEL *.log >DEL *.raw >DEL *.op.raw
Oh, my! That's _so_ high tech! Sheeeesh ;-) ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Tue, 28 Feb 2012 10:17:21 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:

>On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin ><jjlarkin@highNOTlandTHIStechnologyPART.com> wrote: > >> >> >>This is _Cleanup.bat >> >> >>rem LT Spice cleanup batch file >> >>DEL *.log >>DEL *.raw >>DEL *.op.raw > >Oh, my! That's _so_ high tech! Sheeeesh ;-) > > ...Jim Thompson
It's useful. What's wrong with useful? I back up my jobs folders to Dropbox, and it's handy to get rid of all these temp files first. The underscore in the file name keeps it up-front in a Windows folder. It may go to the end of a Linux folder. I wish people would get organized about that. -- John Larkin, President Highland Technology Inc www.highlandtechnology.com jlarkin at highlandtechnology dot com Precision electronic instrumentation Picosecond-resolution Digital Delay and Pulse generators Custom timing and laser controllers Photonics and fiberoptic TTL data links VME analog, thermocouple, LVDT, synchro, tachometer Multichannel arbitrary waveform generators
On Tue, 28 Feb 2012 09:22:14 -0800, John Larkin
<jjlarkin@highNOTlandTHIStechnologyPART.com> wrote:

>On Tue, 28 Feb 2012 10:17:21 -0700, Jim Thompson ><To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote: > >>On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin >><jjlarkin@highNOTlandTHIStechnologyPART.com> wrote: >> >>> >>> >>>This is _Cleanup.bat >>> >>> >>>rem LT Spice cleanup batch file >>> >>>DEL *.log >>>DEL *.raw >>>DEL *.op.raw >> >>Oh, my! That's _so_ high tech! Sheeeesh ;-) >> >> ...Jim Thompson > >It's useful. What's wrong with useful? I back up my jobs folders to >Dropbox, and it's handy to get rid of all these temp files first. > >The underscore in the file name keeps it up-front in a Windows folder. >It may go to the end of a Linux folder. I wish people would get >organized about that.
In Directory Opus it's three mouse clicks. ...Jim Thompson -- | James E.Thompson, CTO | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona 85048 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin wrote:

> > > This is _Cleanup.bat > > > rem LT Spice cleanup batch file > > DEL *.log > DEL *.raw > DEL *.op.raw
LTSpice control panel: Operation. Automatically delete .log and .raw files on exit is default. I set them all to "ask". -- "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." (Richard Feynman)
On Tue, 28 Feb 2012 09:40:42 -0800, Fred Abse
<excretatauris@invalid.invalid> wrote:

>On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin wrote: > >> >> >> This is _Cleanup.bat >> >> >> rem LT Spice cleanup batch file >> >> DEL *.log >> DEL *.raw >> DEL *.op.raw > >LTSpice control panel: Operation. > >Automatically delete .log and .raw files on exit is default. > >I set them all to "ask".
That's cool. I seldom want the data files. For some reason, my setup didn't default to deleting the temp stuff. -- John Larkin, President Highland Technology, Inc jlarkin at highlandtechnology dot com http://www.highlandtechnology.com Precision electronic instrumentation Picosecond-resolution Digital Delay and Pulse generators Custom laser controllers Photonics and fiberoptic TTL data links VME thermocouple, LVDT, synchro acquisition and simulation
Fred Abse wrote:
> On Tue, 28 Feb 2012 08:36:04 -0800, John Larkin wrote: > >> >> >> This is _Cleanup.bat >> >> >> rem LT Spice cleanup batch file >> >> DEL *.log >> DEL *.raw >> DEL *.op.raw
I do the same thing for Eagle backup files. My current board starts with the letters 'Micr' cls echo "This cleans out old Eagle backup files. echo off pause del .\Micr*.s#* del .\Micr*.b#*
> LTSpice control panel: Operation. > > Automatically delete .log and .raw files on exit is default. > > I set them all to "ask".
Good tip. Thanks! --Winston
On Tuesday, February 28, 2012 at 8:06:04 PM UTC+3:30, John Larkin wrote:
> This is _Cleanup.bat > > > rem LT Spice cleanup batch file > > DEL *.log > DEL *.raw > DEL *.op.raw > > > > -- > > John Larkin, President Highland Technology Inc > www.highlandtechnology.com jlarkin at highlandtechnology dot com > > Precision electronic instrumentation > Picosecond-resolution Digital Delay and Pulse generators > Custom timing and laser controllers > Photonics and fiberoptic TTL data links > VME analog, thermocouple, LVDT, synchro, tachometer > Multichannel arbitrary waveform generators
That was useful, thanks
On Fri, 24 Aug 2018 23:40:57 -0700 (PDT), paymani@gmail.com wrote:

>On Tuesday, February 28, 2012 at 8:06:04 PM UTC+3:30, John Larkin wrote: >> This is _Cleanup.bat >> >> >> rem LT Spice cleanup batch file >> >> DEL *.log >> DEL *.raw >> DEL *.op.raw >> >> >> >> -- >> >> John Larkin, President Highland Technology Inc >> www.highlandtechnology.com jlarkin at highlandtechnology dot com >> >> Precision electronic instrumentation >> Picosecond-resolution Digital Delay and Pulse generators >> Custom timing and laser controllers >> Photonics and fiberoptic TTL data links >> VME analog, thermocouple, LVDT, synchro, tachometer >> Multichannel arbitrary waveform generators > >That was useful, thanks
You can set LT to delete these files on exit, but if you save a sim under a new name, it can leave the old ones behind. Sometimes some of my people run a sim on a server, instead of copying it locally, and leave gigs of .RAW files up. Then I have to punish them. -- John Larkin Highland Technology, Inc lunatic fringe electronics