replaced setx with reg add: avoid 1024 char limit