Windows Registry Functions Reference (AutoLISP)

Windows Registry functions query and update the Windows Registry.

Windows Registry functions

Function

Description

(vl-registry-delete reg-key

[ val-name])

Deletes the specified key or value from the Windows Registry

(vl-registry-descendents reg-key

[ val-names])

Returns a list of subkeys or value names for the specified Registry key

(vl-registry-read reg-key

[ val-name])

Returns data stored in the Windows Registry for the specified key/value pair

(vl-registry-write reg-key

[ val-name val-data])

Creates a key in the Windows Registry

(vlax-machine-product-key)

Returns the AutoCAD Windows registry path in the HKLM (HKEY_LOCAL_MACHINE)

Note: This is an extended function provided by VLISP. You must issue vl-load-com before you can use the function.

(vlax-product-key)

OBSOLETE: Returns the AutoCAD registry path

Note: This is an extended function provided by VLISP. You must issue vl-load-com before you can use the function.
Note: Use VLAX-MACHINE-PRODUCT-KEY instead.

(vlax-user-product-key)

Returns the AutoCAD Windows registry path in the HKCU (HKEY_CURRENT_USER)

Note: This is an extended function provided by VLISP. You must issue vl-load-com before you can use the function.