Post Reply 
pyILPER Version 1.3.3 released
04-14-2016, 02:11 AM
Post: #19
RE: pyILPER Version 1.3.3 released
(04-13-2016 10:59 PM)Dave Frederickson Wrote:  As I mentioned, OrCAD/PSpice has been having fun with my environment variables. On this computer:
HOMEPATH=\
HOME=C:\Users\<me>\AppData\Roaming\SPB_Data

SPB_Data belongs to OrCAD/PSpice.

Bob, if you execute "echo %HOME%" what do you get? I believe HOME is correct in most cases, but apparently not all.

"Echo %home%" simply displays "%home%", which is correct if there is no environment variable called "home" defined.

HOMEPATH is used by Windows XP, Vista, 7, and 10. I don't have a Win-8 machine to test, but it's almost certainly the same (and if not, who cares, since the 9 happy Win-8 users probably aren't members here).

FYI, you can just type "set" at a command prompt to see all the currently defined env. variables.

It seems that OrCAD/PSpice (whatever that is) (ab)uses environment variables in an odd and non-standard way, though it's not of much general consequence as very few programs use environment variables these days. Probably a vestige of ancient versions of that program, which they hacked to use under more modern OS's while using the old environment setup. (but that's just a guess)

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
pyILPER Version 1.3.3 released - jsi - 04-06-2016, 05:06 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-09-2016, 05:48 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-09-2016, 08:18 PM
RE: pyILPER Version 1.3.3 released - jsi - 04-13-2016, 08:27 PM
RE: pyILPER Version 1.3.3 released - rprosperi - 04-14-2016 02:11 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-14-2016, 04:58 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-14-2016, 07:44 PM
RE: pyILPER Version 1.3.3 released - jsi - 04-19-2016, 03:11 AM
RE: pyILPER Version 1.3.3 released - hbo - 04-14-2016, 11:48 PM
RE: pyILPER Version 1.3.3 released - hbo - 04-15-2016, 12:48 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-20-2016, 05:10 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-22-2016, 06:14 AM
RE: pyILPER Version 1.3.3 released - jsi - 04-22-2016, 04:07 PM



User(s) browsing this thread: 12 Guest(s)