Alternate commands

It may be desireable to have different things treated differently, each in a predefined style; e.g., if you want directory paths to always be in typewriter and email addresses to be roman, then you would define new url-like commands as follows:
\DeclareUrlCommand\metacommand{\metasettings}
\DeclareUrlCommand\email{\urlstyle{rm}}
\DeclareUrlCommand\directory{\urlstyle{tt}}.
In fact, this \csdirectory example is exactly the \cspath definition which might be pre-defined by the package. Furthermore, basic \csurl is defined with
\DeclareUrlCommand\url{},
without any settings , so it uses whatever \csurlstyle and other settings are already in effect.
You can make a defined-url for these other styles, using the usual \csurldef command as in this example:
\urldef{\myself}{\email}{myself \end{quote} which makes \cs{myself} act like \verb\emailmyselfif the \csemail command is defined as above. The \csmyself command would then be robust.