LASTCMD System Variable

(Read-only)
Type: String
Saved in: Not saved
Initial value:" "


Stores the last string echoed to the command line. This string is identical to the last line seen at the command line and includes any user input.