echo %userprofile%
C:\Users\f.lastname
But the value of ${user.home}
is \\LOGONSERVER\RedirectedFolders\f.lastname\
in network drive.
So how is ${user.home}
initialized and how can I change its value to the normal user profile directory?
Resolved!
By fixing Desktop path value in 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders'
The variable is defined by the JVM, not by Maven, and it's taken from the system settings. If the value is wrong, then the system isn't properly configured.
Maybe this answer can help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With