@REGTYPE[HKEY...\key] : Returns the registry variable type. The possible values are:


0 - REG_NONE (No value type)

1 - REG_SZ (Unicode null terminated string)

2 - REG_EXPAND_SZ (Unicode null terminated string with environment variable references)

3 - REG_BINARY (Free form binary)

4 - REG_DWORD (32-bit number)

5 - REG_DWORD_BIG_ENDIAN (32-bit number)

6 - REG_LINK (Symbolic Link)

7 - REG_MULTI_SZ (Multiple Unicode strings)

8 - REG_RESOURCE_LIST (Resource list in the resource map)

9 - REG_FULL_RESOURCE_DESCRIPTOR (Resource list in the hardware description)


11 - REG_QWORD (64-bit number)


If you are running a 64-bit version of Windows, you can access the 64-bit registry instead of the 32-bit registry by appending "_64" to the HKEY name.


If the key name begins with \\machinename, @REGTYPE opens the registry on a remote machine. The remote registry service must be running on the remote machine, and you must have access and permissions. The HKEY parameter can be one of the following keys: