Hi mjgrolex,
OK, lets illustrate how my code represents the data as supplied by Microsoft
The "E-mail" command is missing or is unavailable in Excel 2007, in PowerPoint 2007, or in Word 2007.
Extract from the webpage referred to in the above link from Microsoft.
View attachment 6236
The code from my earlier post.
Code:
@ECHO OFF
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v MAPI /t REG_SZ /d 1 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v CMC /t REG_SZ /d 1 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v CMCDLLNAME t/ REG_SZ /d Mapi.dll /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v CMCDLLNAME32 /t REG_SZ /d Mapi32.dll /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v MAPIX /t REG_SZ /d 1 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v MAPIXVER /t REG_SZ /d 1.0.0.1 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" /v OLEMessaging /t REG_SZ /d 1 /f
The first line, '@ECHO OFF', is a command that turns off the command-echoing (displaying the command on screen as it is executed). This is OPTIONAL.
The next 7 lines operate in the same way, so I shall describe the 1st one. The first part of the line is 'REG ADD'. This is a command line instruction to add or modify registry data. The next part, "HKLM\SOFTWARE\Microsoft\Windows Messaging Subsystem" is the address of the variable that is going to be added or modified. The '/v' indicates that the following data is the variable name, in this case 'MAPI'. Following the variable name, '/t' indicates the type of variable, in this case 'REG_SZ' (a 'string' variable). The next item, '/d', indicates that the following data is going to be stored or placed into this variable. In this case, the data is '1'. Finally, the '/f' forces the data to be written to the registry without a prompt.
For full details of this, see the following Tutorial
http://www.vistax64.com/tutorials/178285-registry-editing.html.