The Raw Text Edit Mode

NK2Edit provides a special edit mode that allows you to view and edit the records of NK2 file as a text file that looks like the .ini files of Windows. Every record begins with [record] header, followed by a sequence of lines with 'Property Number=Value' structure. The property number is written as 32-bit hexadecimal number, and the Value is written as string, number or Hex-Dump sequence, depending on the type of the property.

Here's the list of all major properties that you can find in the Raw Text Edit Mode:

Property ID Type Name Description
6001001f String Search String Outlook uses this string for searching the right recipient when the user type the letters in the To/CC text-box. For example, if the value in this field is abcd, and the user type abcd in the recipients text box, this record will be displayed in the drop down. However, you should be aware that Outlook automatically put the email address in this field when the user sends a message.
0c150003 Integer Recipient Type The type of the recipient. 1 = To, 2 = CC, 3 = BCC.
0fff0102 Binary EntryID Unique EntryID of this recipient, in binary format. Generally, you should not modify this value. NK2Edit automatically generate this ID according to the other fields.
300b0102 Binary Search Key Contains a unique search key of this recipient, in binary format. Generally, you should not modify this value. NK2Edit automatically generate this key according to the other fields.
0ffe0003 Integer Object Type The type of the recipient object. 6 = Individual Recipient, 8 = Distribution List Recipient.
39000003 Integer Display Type The display type of the recipient. 0 = Standard mail user, 1 = Distribution List, 5 = Private Distribution List, 6 = Remote User
3003001f String Email/Exchange Address Contains the email address for SMTP records, and MS-Exchange address for EX records.
3002001f String Address Type Contains the address type of the record. SMTP for regular email address, EX for MS-Exchange address, FAX for fax address, and MAPIPDL for private distribution list.
3001001f String Display Name Contains the display name of the recipient.
5ff6001f String Recipient Display Name The original display name of the recipient. This property usually contains the same value as 3001001f.
5ff70102 Binary Recipient EntryID The value of this property is usually identical to 0fff0102.
6003001f String Drop-Down Name The value of this property is displayed in the AutoComplete drop-down,
39fe001f String SMTP Address Contains the SMTP address of Exchange record.
60040003 Integer Record Weight Contains the weight of the record, relative to the other records. Record with higher weight value get a better position in the records list.

What can you do with this edit mode ?

  1. Easily view the content of your NK2 files: NK2 files store the information in binary format that cannot be easily viewed in any text viewer or Hex viewer. This mode allows you to easily view all records and field values stored in your NK2 file.
  2. Find and fix corrupted records or fields: If your NK2 file doesn't work well or doesn't work at all, this mode allows you to locate and fix records with unusual fields and values.
  3. Search and replace in any other editor: With this mode, you can copy the entire text into the clipboard (Ctrl+A and then Ctrl+C) and then paste it into your favourite text editor. In the other editor, you can make changes with search and replace or any other feature that your editor provide. After you made all your changes, simply paste back the text with all your changes (Ctrl+A and then Ctrl+V)

Be Careful !

The raw text edit mode is very powerful, because it allows you to make any change you like, but if you make any mistake, you can easily make the record you edit unreadable by Outlook, and even ruin the entire NK2 and make it unusable. In order to avoid from any risk of losing your NK2 information, always backup your NK2 file before editing it in this mode.

Return to NK2Edit introduction page