[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] .gnubgautorc under windows
From: |
Holger |
Subject: |
Re: [Bug-gnubg] .gnubgautorc under windows |
Date: |
Mon, 13 Oct 2003 16:49:20 +0200 |
At 11:54 13.10.2003, Jon Kinsey wrote:
At 22:31 11/10/2003, Joern Thyssen wrote:
A number of users have complained about gnubg for windows writing the
settings file (and player statistics, boards, etc.) to the install
directory.
Any ideas on how to change this? Under unix the environment variable
$HOME points to the user's home directory. Is there a similar
environment variable under windows that point to C:\Document and
Settings\username\?
On windows 2000 and windows XP, USERPROFILE points to this directory, not
sure if it's the same on 95/98.
No it doesn't exist at least on Win95. Imho it will certainly also depend
on whether Windows is configured for multi-user access or just one standard
user for everybody. The appropriate directories will not even exist.
Regards,
Holger
From http://www.microsoft.com/office/project/prk/2000/Three/45t3_8.htm :
---8<---
Defining environment variables in Windows 95/98
Windows 95/98 does not create the %USERPROFILE% environment variable
automatically. You must create and define this variable manually so that it
resolves to the correct location for each user.
To create the %USERPROFILE% environment variable for Windows 95/98 clients,
use a Windows NT logon script for your users. The logon script processor
does not directly support environment variables, but the Winset.exe utility
allows you to create global environment variables from a batch file
including a logon script. When Windows 95/98 clients log on to the network,
the environment variable %USERNAME% exists temporarily long enough for
your settings to be installed on users computers.
Use the following syntax to create the environment variable when you log on:
<path>\Winset.exe USERPROFILE=%windir%\Profiles\%USERNAME%
If user profiles are not enabled on the Windows 95/98 computer, you must
also include the commands to create the Profiles folder and the %USERNAME%.
In this case, use the following syntax:
cd %windir%
md Profiles
md Profiles\"%USERNAME%"
---8<---
- [Bug-gnubg] .gnubgautorc under windows, Joern Thyssen, 2003/10/11
- Re: [Bug-gnubg] .gnubgautorc under windows, Jon Kinsey, 2003/10/13
- Re: [Bug-gnubg] .gnubgautorc under windows,
Holger <=
- Re: [Bug-gnubg] .gnubgautorc under windows, Joern Thyssen, 2003/10/13
- Re: [Bug-gnubg] .gnubgautorc under windows, Holger, 2003/10/13
- Re: [Bug-gnubg] .gnubgautorc under windows, Joern Thyssen, 2003/10/13
- Re: [Bug-gnubg] .gnubgautorc under windows, Holger, 2003/10/13
- Re: [Bug-gnubg] .gnubgautorc under windows, Holger, 2003/10/15
- Re: [Bug-gnubg] .gnubgautorc under windows, Joern Thyssen, 2003/10/16
- Re: [Bug-gnubg] .gnubgautorc under windows, Holger, 2003/10/17
- Re: [Bug-gnubg] .gnubgautorc under windows, Jon Kinsey, 2003/10/17
- Re: [Bug-gnubg] .gnubgautorc under windows, Holger, 2003/10/17
- Re: [Bug-gnubg] .gnubgautorc under windows, Jon Kinsey, 2003/10/13