Home folder: Difference between revisions
From FreeMind
Jump to navigationJump to search
Dan Polansky (talk | contribs) (→User home folder: fix) |
Dan Polansky (talk | contribs) (+forum link; some new findings on how JRE determines the value of "user.home", thanks to the research of user bmaj posted to the forums) |
||
Line 1: | Line 1: | ||
==User home folder== | ==User home folder== | ||
Finding out about the user's home folder, in which the folder ".freemind" typically resides: | Finding out about the user's home folder, in which the folder ".freemind" typically resides: | ||
In Windows: Run DOS console (Windows + R, followed by "cmd"), and type "echo %homepath%". To see the usual path to FreeMind home folder, type "echo %HOMEPATH%\.freemind". A related system variable is %userprofile%. | In Windows: Run DOS console (Windows + R, followed by "cmd"), and type "echo %homepath%". To see the usual path to FreeMind home folder, type "echo %HOMEPATH%\.freemind". A related system variable is %userprofile%. However, Java may determine the value of "user.home" without the use of %homepath% and %userprofile%, relying instead on the location of user desktop as stated in Windows registry. Nevertheless, user desktop is usually located at the path "%homepath%\Desktop", so "echo %HOMEPATH%\.freemind" usually gives the correct location of FreeMind home folder. This is to be researched. | ||
In Linux: Run a console and type "echo $HOME". | In Linux: Run a console and type "echo $HOME". | ||
Revision as of 15:56, 26 August 2010
User home folder
Finding out about the user's home folder, in which the folder ".freemind" typically resides:
In Windows: Run DOS console (Windows + R, followed by "cmd"), and type "echo %homepath%". To see the usual path to FreeMind home folder, type "echo %HOMEPATH%\.freemind". A related system variable is %userprofile%. However, Java may determine the value of "user.home" without the use of %homepath% and %userprofile%, relying instead on the location of user desktop as stated in Windows registry. Nevertheless, user desktop is usually located at the path "%homepath%\Desktop", so "echo %HOMEPATH%\.freemind" usually gives the correct location of FreeMind home folder. This is to be researched.
In Linux: Run a console and type "echo $HOME".