The present mechanism allows commands entered on a command line in a
command line operating environment the ability to execute in a first
execution mode or an alternate execution mode. The command is executed in
the alternate execution mode if the command includes an instruction to
execute in the alternate execution mode. The alternate execution mode is
provided by the operating environment and provides extended functionality
to the command. The alternate execution mode may visually display results
of executing the command, visually display simulated results of executing
the command, prompt for verification before executing the command, may
perform a security check to determine whether a user requesting the
execution has sufficient privileges to execute the command, and the like.