use USERPROFILE not HOMEPATH because the HOMEPATH is not a full path.