! (Variable)
TCC > Variables & Functions > Variables:
Comments (...)
! returns the last argument of the previous command. The command is retrieved from the history list, so this will not work in a batch file -- it's intended for aliases and command line work.
Help URL: http://jpsoft.com/help/index.htm?bangvariable.htm