I'm sorry for the confusion.  I meant execute "set USERPROFILE" so you
could SEE the current setting.  I didn't mean to infer that one could
change the value by simply changing the environment variable.  I guess a
safer command would be "echo %USERPROFILE%".

And you can change your "home" directory in Windows.  Mine is
c:\home\murray. Can't remember all of the steps, but you should be able
to find instructions at support.microsoft.com.

-----Original Message-----
From: Jesse Stockall [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 15, 2002 1:56 PM
To: Ant Users List
Subject: RE: Question about User Home Dir on Windows?


On Fri, 2002-03-15 at 14:26, Brian Murray wrote:
> The location of "user home" is customizable, even in Windows.  In 
> Windows NT, 2K and XP, the USERPROFILE environment variable shows the 
> user-specific location of the "user home".  A quick "set USERPROFILE" 
> at a command prompt will show the current setting for the current 
> user. This technique may work in other Windows versions, but I can't 
> say for sure.

Yeah now open another command windows & do SET USERPROFILE, notice that
it is back to c:\Documents and Settings\username

Windows would cease to function if you really changed the user's home
directory.  This is where it keeps the NTUSER.DAT (user part of
registry) as well as many other application settings. 

Java does not use the USERPROFILE env variable to determine the location
of user.home.

-- 
 Jesse Stockall                 |       Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation         |       Fax: 1+ 613.599.2442            
 Suite 304, 300 March Rd.       |       email: [EMAIL PROTECTED]
 Ottawa, ON, Canada K2K 2E2     |       web: www.cryptocard.com 
---------------------------------------------------------------------


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to