HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R18.2\ACAD-A001:409
-----------------------------------------------------------
Version Format Hex:Country
2004 R16.0 2001 : 409
2005 R16.1 3001 : 409
2006 R16.2 4001 : 409
2007 R17.0 5001 : 409
2008 R17.1 6001 : 409
2009 R17.2 7001 : 409
2010 R18.0 8001 : 409
2011 R18.1 9001 : 409
2012 R18.2 A001 : 409
-----------------------------------------------------
2013 ,no 2013 because it's doomsday
I am not sure it is right.
It doesn't matter, the above function will work on any machine, so if you want to write to that part of the registry, use:
(strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key) "\\" ...)
(vlax-product-key) Good way.