[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave package for Cygwin
From: |
Andy Adler |
Subject: |
Re: Octave package for Cygwin |
Date: |
Fri, 13 Jun 2003 13:54:51 -0400 (EDT) |
On Thu, 12 Jun 2003, Paul Kienzle wrote:
> Maybe we could query the registry on startup?
> I don't know how to get reasonable values for
> AUTHOR or EMAIL, but for HOME we could
> use MYDOCS/octave. WinME seems to store
> the My Documents key at
> HKEY_CURRENT_USER ->
> Software -> Microsoft -> Windows ->
> CurrentVersion -> Explorer ->
> Shell Folders -> Personal
> Any idea how to query the registry?
I've just checked some registry code into octave-forge:
> key=['Software\\Microsoft\\Windows\\CurrentVersion\\',...
'Explorer\Shell Folders'];
> win32_ReadRegistry('HKCU',key,'personal')
ans = C:\Documents and Settings\andy\My Documents
(tested on winXP)
Andy
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
Re: Octave package for Cygwin, Bob Bailey, 2003/06/11
Re: Octave package for Cygwin, Julius Smith, 2003/06/14