Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Problem with Command Interpreter

Reply
Thread Tools Display Modes

Problem with Command Interpreter

 
 
Rob van Albada
Guest
Posts: n/a

 
      05-21-2008
Hi,

The Command Interpreter (which I use very often) appears to have a
bug;
When I install DOSKEY with the /HISTORY parameter, it works fine for a
certain time, and after that suddenly it loses its history, i.e. does
not 'remember' the commands which I had entered.
DOSKEY /REINSTALL /HISTORY does not help.
The 'memory' has disappeared forever. All I can do is exit and open a
new instance of the command interpreter.

Can anything be done to circumvent this strange behavior?
I encountered this on two computers, both under Vista Home Premium.

Kind regards,

Rob in Amsterdam.





 
Reply With Quote
 
 
 
 
propman
Guest
Posts: n/a

 
      05-21-2008
Rob van Albada wrote:
> Hi,
>
> The Command Interpreter (which I use very often) appears to have a
> bug;
> When I install DOSKEY with the /HISTORY parameter, it works fine for a
> certain time, and after that suddenly it loses its history, i.e. does
> not 'remember' the commands which I had entered.
> DOSKEY /REINSTALL /HISTORY does not help.
> The 'memory' has disappeared forever. All I can do is exit and open a
> new instance of the command interpreter.
>
> Can anything be done to circumvent this strange behavior?
> I encountered this on two computers, both under Vista Home Premium.
>
>



Sounds like it might be a buffer overflow problem....try experimenting
with buffer size.


/LISTSIZE=size
Sets size of command history buffer.
 
Reply With Quote
 
propman
Guest
Posts: n/a

 
      05-21-2008
Rob van Albada wrote:
> Hi,
>
> The Command Interpreter (which I use very often) appears to have a
> bug;
> When I install DOSKEY with the /HISTORY parameter, it works fine for a
> certain time, and after that suddenly it loses its history, i.e. does
> not 'remember' the commands which I had entered.
> DOSKEY /REINSTALL /HISTORY does not help.
> The 'memory' has disappeared forever. All I can do is exit and open a
> new instance of the command interpreter.
>
> Can anything be done to circumvent this strange behavior?
> I encountered this on two computers, both under Vista Home Premium.
>
> Kind regards,
>
> Rob in Amsterdam.
>
>



Hmmmm....did a bit of further searching and ran across the following:

<quote on>

CMD.exe is a newer pgm in the \SYSTEM32 folder of XP and 2000 (possibly
ME, too, but I don't have it available to test). COMMAND.com is in all
OS's (Since 95) and does not have this DOSKEY "history buffer" feature.

<quote off>


You might want to check the "Properties" setup for a commandline
session.....should be available in Panel Manager somewhere.....see if
there is buffer size allocation.


Sheesh.......more basic thought just crossed my mind.... you stated
"install doskey".......are you sure that installing Doskey for a
commandline session is even needed? IIRC, the commandline (terminal
session) for the last few Windows automatically includes automatic
command recall (history)....not on my windows machine right now so I
can't confirm this.


 
Reply With Quote
 
the wharf rat
Guest
Posts: n/a

 
      05-21-2008
In article <>,
Rob van Albada <> wrote:
>
>Can anything be done to circumvent this strange behavior?


Well, it's not DOS but it's a cli with history and such. Try
cygwin bash, from www.cygwin.com. You might have to install a cygwin
"environment", that's not a big deal.

 
Reply With Quote
 
Rob van Albada
Guest
Posts: n/a

 
      05-27-2008
Thanks for your comments.
Indeed, the DOSKEY command seems to be built-in.
I deleted DOSKEY from the ae.bat file (which I run on startup of the
CLI, as a replacement for good old autoexec.bat).
Now ae.bat only contains the PATH command, and everything appears to
run well. The history does not disappear.

Kind regards,

Rob.


NB
I will also look into CYGWIN when I will have the time.


On Wed, 21 May 2008 13:46:03 GMT, (Rob van
Albada) wrote:

>Hi,
>
>The Command Interpreter (which I use very often) appears to have a
>bug;
>When I install DOSKEY with the /HISTORY parameter, it works fine for a
>certain time, and after that suddenly it loses its history, i.e. does
>not 'remember' the commands which I had entered.
>DOSKEY /REINSTALL /HISTORY does not help.
>The 'memory' has disappeared forever. All I can do is exit and open a
>new instance of the command interpreter.
>
>Can anything be done to circumvent this strange behavior?
>I encountered this on two computers, both under Vista Home Premium.
>
>Kind regards,
>
>Rob in Amsterdam.
>
>
>
>
>


 
Reply With Quote
 
 
 
Reply

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

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
Command & Conquer first decade problem Stefan S Windows Vista Games 11 03-28-2010 11:54 PM
command prompt problem Mike Windows Vista Administration 1 02-22-2008 12:00 AM
installing server, interpreter and perl in vista. db Windows Vista General Discussion 1 09-11-2007 02:20 PM
command and conquer ZH online problem nathan Windows Vista Games 1 04-06-2007 04:03 AM
Command & Conquer Generals problem Matt Anderson Windows Vista Games 4 04-05-2007 05:42 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59