[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: startup with .octaverc on Windows Vista

From: Richardson, Anthony
Subject: RE: startup with .octaverc on Windows Vista
Date: Mon, 21 Sep 2009 13:43:26 -0500

We have a similar setup.   We set HOME in the
file, with the following lines:

cd ~;

This allows the octave HOME env variable to be set differently 
than a Vista global HOME environment variable.  An .octaverc 
file in h:\ is still executed.  Setting HOME from Windows
should work too, but we have other software that uses the HOME
environment variable and requires that it be set to something

Tony Richardson

> -----Original Message-----
> From: Bart Vandewoestyne [mailto:address@hidden
> Sent: Monday, September 21, 2009 12:20 PM
> To: address@hidden
> Subject: startup with .octaverc on Windows Vista
> Hello,
> One of our sysadmins installed Octave 3.2.2 on Windows Vista so
> that we can use it as a Matlab replacement for our student's
> laboratory sessions.
> I went to test the setup today, and i figured out that the
> .octaverc file did not get read from the student's H:-drive,
> which is the network drive containing their home directory.
> I noticed that the HOME environment variable is not set, but the
> HOMEDRIVE points to C: and HOMEPATH to \Users\myusername
> So if i place the .octaverc file in C:\Users\myusername then it
> gets read.  So i can ask students each time they login, to copy
> the .octaverc file to C:\Users\myusername but that seems
> annoying.  It would be better if they only created .octaverc
> once in their H:-drive homedirectory.  So therefore, we will have
> to make sure that Octave searches for the .octaverc file in the
> H:\ path.  While googling, i found
> td23772097.html
> and it seems like there exist several environment variables that
> are candidates, namely:
> 1) HOME
> My questions are:
> 1) What environment variables does Octave read and use to search
> for an .octaverc file?
> 2) Considering that I am looking for a clean and long-term solution,
>    what would be the best environment variable to use on Windows
>    Vista?
> Thanks for any advice,
> Bart
> --
>       "Share what you know.  Learn what you don't."
> _______________________________________________
> Help-octave mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]