oggi che ho provato la funzione ho visto che in Linux la home dir è HOME mentre in Win è USERPROFILE

Grazie a tutti per l'aiuto