Viewing Registry

The NameExt is an OS/2 command-line utility program that is used to display the contents of nodes in the OS/2 name space. The Open32 registry is part of the OS/2 name space. It resides under the node path DOS/WINOS2/WINREG.

By default, the information generated by this utility program is written to the terminal (STDOUT); however, the user can use the "-f" parameter to write the output to a file. NameExt has the flexibility to provide information to a single node (the default or -1 0), for all nodes at or below the specified node (-1 *), or to limit the depth in the name space. The user has even finer control in being able to select only nodes that satisfy a specific set of search criteria (the "-s" parameter). Finally, the user can:

Character strings will be output in display format if they contain all printable characters; otherwise they will be output in character-based hex format.

Syntax:

┌──────────────────────────────────────────────────────────────────────────────┐│                                                                              │
│ >>──NameExt──path──┬────────────────────────┬──────────────────────────────> │
│                    └─-s ─┤ search_filter ├──┘                                │
│                                                                              │
│                                     (3)                                      │
│ >──┬──────────────────────────┬──-m ─────┬────────────────┬────────────────> │
│    │     ┌─,───────────────┐  │          └─-f output_file─┘                  │
│    │                      │  │                                              │
│    │                    (1)   │                                              │
│    ├─-i ──attribute_name──────┤                                              │
│    │     ┌─,───────────────┐  │                                              │
│    │                      │  │                                              │
│    │                    (2)   │                                              │
│    └─-x ──attribute_name──────┘                                              │
│                                                                              │
│    ┌─-l 0 ────────────────┐                                                  │
│ >──┼──────────────────────┼───────────────────────────────────────────────>< │
│    ├─-l levels_to_extract─┤                                                  │
│    └─-l *─────────────────┘                                                  │
│                                                                              │
│ SEARCH_FILTER:                                                               │
│    ┌─┤ logical_operator ├─┐                                                  │
│     │                  │ │                                                  │
│ ├────┤ filter ├─────────┴─┴────────────────────────────────────────────────┤ │
│                                                                              │
│ LOGICAL_OPERATOR:                                                            │
│ ├──┬─AND─┬─────────────────────────────────────────────────────────────────┤ │
│    ├─OR──┤                                                                   │
│    └─XOR─┘                                                                   │
│                                                                              │
│ FILTER:                                                                      │
│ ├──┬─attribute_name─┬─EQ─┬──┤ value_expression ├──┬────────────────────────┤ │
│    │                ├─NE─┤                        │                          │
│    │                ├─GT─┤                        │                          │
│    │                ├─GE─┤                        │                          │
│    │                ├─LT─┤                        │                          │
│    │                └─LE─┘                        │                          │
│    │                       (4)                    │                          │
│    ├─EXISTS(attribute_name)───────────────────────┤                          │
│    │                               (5)            │                          │
│    ├─RSTR(attribute_name) EQ string───────────────┤                          │
│    │                               (6)            │                          │
│    ├─LSTR(attribute_name) EQ string───────────────┤                          │
│    │                                 (7)          │                          │
│    ├─MIDSTR(attribute_name) EQ string─────────────┤                          │
│    ├─(─┤ filter ├─)───────────────────────────────┤                          │
│    └─NOT(─┤ filter ├─)────────────────────────────┘                          │
│                                                                              │
│ VALUE_EXPRESSION:                                                            │
│ ├──┬─([system_type─┬────────────┬─]value)───────┬──────────────────────────┤ │
│    │               └─:user_type─┘               │                            │
│    │                                  ┌─,───┐   │                            │
│    │                                       │   │                            │
│    ├─([system_type[]─┬────────────┬─]──value┴─)─┤                            │
│    │                 └─:user_type─┘             │                            │
│    ├─quoted_character_string────────────────────┤                            │
│    │   ┌─,──────────────┐                       │                            │
│    │                   │                       │                            │
│    └─{──value_expression┴─}─────────────────────┘                            │
│                                                                              │
│ NOTES:                                                                       │
│ (1)  This form specifies that the list of attributes that follows should be  │
│      included in the extract.                                                │
│                                                                              │
│ (2)  This form specifies that the list of attributes that follows should be  │
│      excluded from the extract.                                              │
│                                                                              │
│ (3)  This form specifies that the extract contains only the metadata and the │
│      path name.                                                              │
│                                                                              │
│ (4)  This expression is true if the attribute exists and has any value or no │
│      value.                                                                  │
│                                                                              │
│ (5)  This expression is true if the right-most portion of attribute_name's   │
│      value equals the string.                                                │
│                                                                              │
│ (6)  This expression is true if the left-most portion of attribute_name's    │
│      value equals the string.                                                │
│                                                                              │
│ (7)  This expression is true if the string appears anywhere in               │
│      attribute_name's value.                                                 │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
Parameters:

path

-s search_filter -i -x attribute_name -m -f output_file -l * 0 levels_to_extract logical_operator value_expression EXISTS(attribute_name) RSTR(attribute_name) EQ string LSTR(attribute_name) EQ string MIDSTR(attribute_name) EQ string system_type