Is possible to save windows command prompt history to a file?
I'm going to work in sqlplus and would like to save in a log file all commands that were used and executed.
Example, would like to save all commads executed in a session:
C:\> sqlplus /nolog
sql> connect / as sysdba
sql> select * from v$version;
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.