Author Topic: AutoCAD in Windows registry  (Read 6013 times)

0 Members and 1 Guest are viewing this topic.

velasquez

  • Newt
  • Posts: 195
AutoCAD in Windows registry
« on: June 30, 2011, 07:47:32 AM »
In the Windows registry: HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R18.1\ACAD-9001:409
AutoCAD 2011 is R18.1 Curver is 9001:409
Can anyone tell me these values ​​for AutoCAD 2012?

Thanks

Lee Mac

  • Seagull
  • Posts: 12906
  • London, England
Re: AutoCAD in Windows registry
« Reply #1 on: June 30, 2011, 07:49:16 AM »
Code: [Select]
(vlax-product-key)

velasquez

  • Newt
  • Posts: 195
Re: AutoCAD in Windows registry
« Reply #2 on: June 30, 2011, 08:32:44 AM »
Code: [Select]
(vlax-product-key)

I forgot to say that I do not have AutoCAD 2012 installed.

highflyingbird

  • Bull Frog
  • Posts: 415
  • Later equals never.
Re: AutoCAD in Windows registry
« Reply #3 on: June 30, 2011, 08:36:23 AM »
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 :wink:
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:

Code: [Select]
(strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key) "\\" ...)
(vlax-product-key) Good way.
« Last Edit: June 30, 2011, 08:54:16 AM by HighflyingBird »
I am a bilingualist,Chinese and Chinglish.

Lee Mac

  • Seagull
  • Posts: 12906
  • London, England
Re: AutoCAD in Windows registry
« Reply #4 on: June 30, 2011, 08:51:03 AM »
Code: [Select]
(vlax-product-key)

I forgot to say that I do not have AutoCAD 2012 installed.

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:

Code: [Select]
(strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key) "\\" ...)

velasquez

  • Newt
  • Posts: 195
Re: AutoCAD in Windows registry
« Reply #5 on: June 30, 2011, 10:02:00 AM »
Thanks for the replies.

Velasquez