Prints full path names of messages and folders.
mhpath [ +Folder ] [ Messages [ ,Messages ] ... ]
The mhpath command lists the path names of folders and messages. By default, the command lists the path name of the current folder.
| Item | Description |
|---|---|
| +Folder | Specifies which folder path to list. |
| -help | Lists the command syntax, available switches (toggles), and
version information. Note: For MH, the name of this flag must be fully spelled out. |
| Messages | Specifies the messages for which you want to list path names.
The Messages parameter can specify several messages, a range
of messages, or a single message. Use the following references to
specify messages.
|
The following entries are entered in the UserMhDirectory/.mh_profile file:
| Item | Description |
|---|---|
| Current-Folder: | Sets the default current folder. |
| Path: | Specifies a user's MH directory. |
mhpath
The
system responds with a message similar to the following: /home/tom/Mail/inbox
mhpath +source 2-4
The system responds with a message similar to the following:/home/tom/Mail/source/2
/home/tom/Mail/source/3
/home/tom/Mail/source/4
mhpath new
The system responds
with a message similar to the following: /home/tom/Mail/source/5
In
this example, the next message will be message 5 in user tom's
current folder, /home/tom/Mail/source.| Item | Description |
|---|---|
| $HOME/.mh_profile | Defines the user's MH profile. |
| /usr/bin/mhpath | Contains the mhpath command. |