rickman wrote:
> On 11/2/2014 5:28 PM, Jeff Liebermann wrote:
>> On Sun, 02 Nov 2014 14:56:04 -0500, rickman <
gnu...@gmail.com> wrote:
>>
>>>>> One catch. LTspice saves its preferences to:
>>>>> C:\windows\scad3.ini
>>>>> which has to be writeable. The fix is to use the
>>>>> -ini <path>
>>>>> command line switch, which will:
>>>>> Specify an .ini file to use other than %WINDIR%\scad3.ini
>>>>> <
http://ltwiki.org/LTspiceHelp/LTspiceHelp/Command_Line_Switches.htm>
>>
>>> I need to note this somewhere. Writing to the Windows directory is a
>>> *very* bad idea.
>>
>> It was standard procedure in Windoze 3.1, where almost all
>> applications dropped pick_a_name.ini files in the C:\Windows\
>> directory.
>
> Yes, and Windows 3.1 crashed on a regular basis for about any reason
> whatsoever just like 95, 98 and ME.
>
> MS has been telling developers since Win2000 and maybe since NT to not
> put data files in the Windows or Program Files directories. Many chose
> to ignore this which wasn't enforced until Vista and became one of the
> things everyone loves to hate about Vista.
>
Maybe. But for us users only one thing counts: That stuff works.
>
>> I do have to admit it was handy as the files were easy to
>> find and save. The new and improved versions of Windoze hide these
>> config files in either the registry, or bury them 5 directory layers
>> deep, where few can find them without specialized tools or inside
>> information.
>
> Windows doesn't put anything from an app in the registry. That is up to
> the app to decide. Getting to these directories is easy if they used
> the right location, C:\ProgramData. Instead they continue to use
> C:\Program Files and now with Win8 MS puts the files in the long path
> name you list, but I believe they can be reached transparently through
> the path C:\Program Files So the best of both worlds.
>
> If the app puts them somewhere else, don't blame windows.
>
If it was allowed in old Windows, isn't in new Windows, and there isn't
a user selector about this then I blame Windows.
>
>>> I can't tell you how many developers do all sorts of
>>> things they aren't supposed to under windows. That is the actual cause
>>> of many problems people have running older software under Windows. They
>>> don't listen to the people providing them with the OS!
>>
>> LTspice (aka SwitcherCAD) is a rather old program, with many of the
>> traditions of Windoze 3.1 still present. If you don't like that, try
>> running some of the various NEC antenna modeling programs, that still
>> use the terms "card" and "deck" from the Hollerith punch card era. The
>> common mantra is the same everywhere... if it works, don't touch it.
>
> These programs have been updated many, many times since Windows 3.1.
> Windows NT, 2k, XP, Vista, 7, 8 and 8.1 aren't even the same OS as the
> 3.1 tree which was ended when XP was released. Stick with the old
> habits and blame yourself or your program maintainer.
>
> I use some open source Windows software that does the same crap and I am
> very vocal about the cause and the fix for the problem. Few of the
> developers are interested though. Now that 8 makes this (using Program
> Files for data) work adequately they no longer have a need to change it.
>
> If you are relying on programming habits from over 20 years ago, then
> you will have to stew in your own soup.
>
Easy to say for someone who probably never has to deal with beamfield
sims and such. Bottomline there are programs some of us have to use
where there is no alternative. Where the design teams have dissolved
decades ago and some of the folks are not with us on earth anymore. My
record so far is a chunk of software that was stored on an 8" floppy.
Software does not automatically lose its value because it is over 20
years old. Or would you pour a bottle of 1995 Domaine Leflaive
Montrachet Grand Cru [*] into the sink because it is old?
Talking about using legacy stuff, the aircraft guys are a bit more
extreme there. This aircraft is going to celebrate its 80th soon and is
used commercially:
https://www.youtube.com/watch?v=jx11k1r1Pm8
[*] It runs north of $5k. Per bottle.