A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

XP cmd.com adjust command-history setting



 
 
Thread Tools Display Modes
  #1  
Old January 9th 12, 10:14 AM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default XP cmd.com adjust command-history setting

Hello All,

I use the CMD.EXE "dos-box" quite often, and have troubles with its
command-history.

Due to what I'm doing (writing something, testing it -- rinse-and-repeat) I
quite often use the up-arrow to reach a previously-typed command-line and
than press the enter-key to execute it.

The problem is that when I do the above a number of times I unexpectedly get
a fully different line than the one I executed previously or the time before
that.

Someone explained to me the logic behind that behaviour, and it was indeed
quite logical (just like software random-generators are logical but
not-to-be-followed by a mere mortal) -- but not a behaviour I want.

So, my question: can I change the behaviour of the commandline-history in
such a way that it *allways* starts at the end of the list (just like
"doskey" did in 'the good-old days') ?

If not, is there a way to replace that commandline-hisory module with
another one ?

Regards,
Rudy Wieser



Ads
  #2  
Old January 10th 12, 07:05 PM posted to microsoft.public.windowsxp.help_and_support
Zaphod Beeblebrox
external usenet poster
 
Posts: 868
Default XP cmd.com adjust command-history setting

"R.Wieser" wrote in
:

Hello All,

I use the CMD.EXE "dos-box" quite often, and have troubles with
its command-history.

snip

So, my question: can I change the behaviour of the
commandline-history in such a way that it *allways* starts at the
end of the list (just like "doskey" did in 'the good-old days') ?


Not that I know of. If you find a way, be sure to post back as I find
it annoying on occasion as well.

If not, is there a way to replace that commandline-hisory module
with another one ?


I searched Google with "cmd command history replacement" and got a
couple of promising looking hits - you may need to replace cmd.exe
altogether, though.

Something that might help is to use F7 to bring up the list of recent
commands and pick the command from the list .

--
Zaphod

Vell, Zaphod's just zis guy, ya know? - Gag Halfrunt

  #3  
Old January 11th 12, 10:19 AM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default XP cmd.com adjust command-history setting

Hello Zaphod,

Thanks for the reply. I hoped that it would be a matter changing a(n
unknown) setting, but alas ...

Using F7 is one possibility, pressing "PageDown" before cursor-up seems to
be another.

By the way: Its possible to disable the in-build command-history altogether,
but I've not seen any mentioning of a possibility to load a seperate
command-history ontop of the disabled one (DosKey refuses to work).

Regards,
Rudy Wieser


-- Origional message:
Zaphod Beeblebrox schreef in
berichtnieuws 0...
"R.Wieser" wrote in
:

Hello All,

I use the CMD.EXE "dos-box" quite often, and have troubles with
its command-history.

snip

So, my question: can I change the behaviour of the
commandline-history in such a way that it *allways* starts at the
end of the list (just like "doskey" did in 'the good-old days') ?


Not that I know of. If you find a way, be sure to post back as I find
it annoying on occasion as well.

If not, is there a way to replace that commandline-hisory module
with another one ?


I searched Google with "cmd command history replacement" and got a
couple of promising looking hits - you may need to replace cmd.exe
altogether, though.

Something that might help is to use F7 to bring up the list of recent
commands and pick the command from the list .

--
Zaphod

Vell, Zaphod's just zis guy, ya know? - Gag Halfrunt




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.