#7689 closed defect (fixed)
HOME environment variable used on Windows systems
回報者: | simonk | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 3.2.10 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | Windows |
描述 (由 作最後更新)
I am not sure if this might be by design:
If you set the environment variable HOME, Virtual Box will use this folder as base to store settings and create virtual hard disks even though you are running on Windows.
更動歷史 (4)
comment:2 14 年 前 由 編輯
In my case I have set the HOME variable to my MSYS home folder and was surprised when I saw VirtualBox creating a VHD in there. I did not expect any Windows application making use of the HOME variable.
I would consider this to be more of a usability issue than a bug though.
comment:3 10 年 前 由 編輯
描述: | 修改 (差異) |
---|---|
狀態: | new → closed |
處理結果: | → fixed |
We changed our mind. As of VBox 4.3.22, the HOME environment variable is no longer respected on Windows.
I fail to see anything wrong with such behavior, it looks flexible and user friendly to me. VirtualBox uses HOME if it's set USERPROFILE if it's set or as a final fallback %HOMEDRIVE%%HOMEPATH%. Could you state explicitly what you consider a bug here?