Is it possible to save DOS command prompt history to a file?
I'm going to work in sqlplus and would like to save all commands that were used and executed in a log file.
Example, I would like to save all DOS commads executed in a DOS session:
C:\> sqlplus /nolog sql> connect / as sysdba sql> select * from v$version; etc, etc
I tried to do before: doskey /history >> C:\commands.log
But it does not record anything. I'm in a Windows Server 2008 64 bits.