What is the connical workaround for the absense of the HOME variable on the
win32 platform?
“Jake” jsuntheimer@neo.rr.com wrote in message
news:Y%iK9.108153$%p6.10997158@twister.neo.rr.com…
What is the connical workaround for the absense of the HOME variable on
the
win32 platform?
from the prompt:
md c:\home
set HOME=c:\home
set won’t last though.
To make it last, right click My Computer, select properties, hit the
advanced tab and edit enviroment variables.
Of course you may choose home elsewhere, but this is what I do.
for example to set home equal to windows default home (Windows 2000)
set HOME=%USERPROFILE%
again you’d have to edit enviroment variables to make it last.
DOES ANYONE KNOW HOW TO PERMANENTLY SET VARIABLES FROM COMMANDLINE?
Mikkel
Jake wrote:
What is the connical workaround for the absense of the HOME variable on the
win32 platform?
ENV[‘HOMEDRIVE’]+ENV[‘HOMEPATH’]
[…],
Maurício
“Jake” jsuntheimer@neo.rr.com wrote in message
news:Y%iK9.108153$%p6.10997158@twister.neo.rr.com…What is the connical workaround for the absense of the HOME variable on
the
win32 platform?
DOES ANYONE KNOW HOW TO PERMANENTLY SET VARIABLES FROM COMMANDLINE?
Mikkel
Setx.exe is what is needed. Unfortunately, it’s only available in the NT
4.0 Resource Kit.
Michael
···
----- Original Message -----
From: “MikkelFJ” mikkelfj-anti-spam@bigfoot.com
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Friday, December 13, 2002 9:49 AM
Subject: Re: ENV[‘HOME’] on win32
It’s available from web site.
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp
···
On Fri, 13 Dec 2002 10:25:06 -0500 “Michael Gaunnac” mlgaunnac@hotmail.com wrote:
DOES ANYONE KNOW HOW TO PERMANENTLY SET VARIABLES FROM COMMANDLINE?
Setx.exe is what is needed. Unfortunately, it’s only available in the NT
4.0 Resource Kit.
–
Shusaku tsyk@yk.rim.or.jp
“Shusaku” tsyk@yk.rim.or.jp wrote in message
news:20021214012548.8AB7.TSYK@yk.rim.or.jp…
DOES ANYONE KNOW HOW TO PERMANENTLY SET VARIABLES FROM COMMANDLINE?
Setx.exe is what is needed. Unfortunately, it’s only available in the
NT
4.0 Resource Kit.It’s available from web site.
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.a
sp
Thanks
- the great thing about this tool is that it’s almost more than 600K to
install and when it is installed, it’s unknown to the command prompt.
The good thing is that the compressed download expands to only 24K
executable.
In other words, a program that should have been available in the first place
uses 600K to create a subdirectory called Resource Kit and store a file in
that directory.
It’s almost as good as the sample programs on MSDN online typically has a
size of 1.5K and addtionally some (as I recall) 50-100K for the
selfextracting executable used to decompress the sample.
Mikkel
···
On Fri, 13 Dec 2002 10:25:06 -0500 > “Michael Gaunnac” mlgaunnac@hotmail.com wrote: