> I would like to know if the C:\WINDOWS\system32\cmd.exe can be configured
> so that e.g. the last DOS commands, can be remembered between sessions,
> i.e after a NT logoff or a PC re-boot.
No.
For Doskey HELP, paste the following line into Start | Run and click OK...
hh ntcmds.chm::/doskey.htm
Doskey has to be started FIRST in order to start adding commands to history
in order for them to be recalled.
You can, however, do this to save the commands between sessions...
/history
Displays all commands stored in memory. You can use a redirection symbol (>)
with /history to redirect the list to a file. You can abbreviate /history as
/h.
You can pipe the history to a text file on your desktop to save for later
reference.
doskey /h > "%userprofile%\desktop\history.txt"
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:274300AA-3E8D-423A-B726-(E-Mail Removed),
ben <(E-Mail Removed)> hunted and pecked:
> Dear ALL
> I asked this question on friday.. but I'm sorry the answer was not
> helpful.. and it'll be forgotten....
>
> I would like to know if the C:\WINDOWS\system32\cmd.exe can be configured
> so that e.g. the last DOS commands, can be remembered between sessions,
> i.e after a NT logoff or a PC re-boot.
>
> I KNOW THE DOSKEY command !!!!!! but this is only useful inside a given
> cmd.exe session.
>
> Any ideas ?
>
> regards,
> Ben Bookey
|