PC Review


Reply
Thread Tools Rate Thread

cmd.exe remember commands after reboot ?!*

 
 
=?Utf-8?B?YmVu?=
Guest
Posts: n/a
 
      16th Apr 2007
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
 
Reply With Quote
 
 
 
 
Uncle Grumpy
Guest
Posts: n/a
 
      16th Apr 2007
ben <(E-Mail Removed)> wrote:

>I asked this question on friday.. but I'm sorry the answer was not helpful..
>and it'll be forgotten....


Now you'll be forgotten....
 
Reply With Quote
 
Elmo
Guest
Posts: n/a
 
      16th Apr 2007
ben wrote:
> 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


F3 would retype the last command, but it's doubtful it would be cached
between sessions.

Perhaps if you create a batch file with the preferred commands.

--
Joe =o)
 
Reply With Quote
 
=?Utf-8?B?YmVu?=
Guest
Posts: n/a
 
      16th Apr 2007
Hi Elmo,
thanks for the reply... yes I thought as much... in LINUX this seems to be
easier..
kind regards,
Ben

"Elmo" wrote:

> ben wrote:
> > 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

>
> F3 would retype the last command, but it's doubtful it would be cached
> between sessions.
>
> Perhaps if you create a batch file with the preferred commands.
>
> --
> Joe =o)
>

 
Reply With Quote
 
Wesley Vogel
Guest
Posts: n/a
 
      16th Apr 2007
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win 7 x64 RC: Remember Open File Explorer Windows on Reboot Jed Windows Vista General Discussion 0 23rd Jun 2009 04:33 AM
XP does not remember monitor settings after reboot liu Windows XP Video 4 17th Apr 2009 05:31 AM
Taskbar doesn't remember preferences, following reboot Bob Lucas Windows XP Help 4 10th Nov 2008 11:02 AM
Explorer window size does not remember it's location after reboot malaac Windows Vista General Discussion 3 10th Feb 2007 04:20 AM
Network Drive remember password after reboot? Sergej Kleva Microsoft Windows 2000 Networking 1 13th Sep 2004 09:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:44 PM.