thank you both (
Prince_ and Reno)
well
Prince_ solved the problem thank you very much
but
RENO although my problem is solved but just for learning purpose i ask this question=
in your codes all values are exported into registry and i don't see any error but it's not working(with your code not Prince_)
i changed "
Regcode" line as you posted and "
User" line as you see below
reg add "HKCU\Software\My Own File Sorter"
reg add "HKCU\Software\My Own File Sorter" /v Regcode /d "DCFA1E43-4F572A3A-C6EC9F67-8A1C9C41-0607E9D7-BF1FDF3A-AE703C7E-B3666661"
reg add "HKCU\Software\My Own File Sorter" /v User /d "new user"
but although it hasn't error but it's not working what's the correct algorithm?
well as i mentioned problem is solved with ( Prince_ ) codes and it's just for educational purpose so if you don't have time ignore it