MS DOS

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • recall entered commands at DOS prompt

    4 answers - 498 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    my desktop PC loaded with DS v6.22, in file c:\autoexec.bat,
    the line "set dircmd=/ogne" works to enable me to recall previously
    entered commands at the DS prompt by simply pressing the cursor-up
    key.
    The line of code fails on my notebook PC loaded with Win98se v4.10.2222.
    What line of code do I add to c:\autoexec.bat on my notebook PC to enable
    me to recall entered commands at the DS prompt? Recalling previously
    entered commands is very convenient. :-)
  • No.1 | | 636 bytes | |

    Speirs, Robert J.N. wrote:
    my desktop PC loaded with DS v6.22, in file c:\autoexec.bat,
    the line "set dircmd=/ogne" works to enable me to recall previously
    entered commands at the DS prompt by simply pressing the cursor-up
    key.

    The line of code fails on my notebook PC loaded with Win98se v4.10.2222.
    What line of code do I add to c:\autoexec.bat on my notebook PC to enable
    me to recall entered commands at the DS prompt? Recalling previously
    entered commands is very convenient. :-)

    I think you will find that it is
    "doskey" which is doing that.
    (and should also be in autoexec)
  • No.2 | | 1174 bytes | |

    Sat, 12 Aug 2006 19:24:42 -0400, "Speirs, Robert J.N."
    <speirs@primus.cawrote:

    my desktop PC loaded with DS v6.22, in file c:\autoexec.bat,
    >the line "set dircmd=/ogne" works to enable me to recall previously
    >entered commands at the DS prompt by simply pressing the cursor-up
    >key.


    No, that line has nothing to do with command history. It just creates
    an environment variable which specifies default options for the DIR
    command.

    >The line of code fails on my notebook PC loaded with Win98se v4.10.2222.
    >What line of code do I add to c:\autoexec.bat on my notebook PC to enable
    >me to recall entered commands at the DS prompt? Recalling previously
    >entered commands is very convenient. :-)


    You need to load a command-history utility like DSKEY.CM (supplied) or
    Eric Tauck's Toddy ( http://user.mc.net/~warp/software_toddy.html ).

    better yet, replace the lame CMMAND.CM with 4DS, which is now
    free, and which offers a properly integrated command history, among
    numerous other enhancements: http://jpsoft.com/download.htm
  • No.3 | | 961 bytes | |

    Sjouke Burry wrote:
    Speirs, Robert J.N. wrote:
    >
    >my desktop PC loaded with DS v6.22, in file c:\autoexec.bat,
    >the line "set dircmd=/ogne" works to enable me to recall previously
    >entered commands at the DS prompt by simply pressing the cursor-up
    >key.
    >>

    >The line of code fails on my notebook PC loaded with Win98se v4.10.2222.
    >What line of code do I add to c:\autoexec.bat on my notebook PC to enable
    >me to recall entered commands at the DS prompt? Recalling previously
    >entered commands is very convenient. :-)
    >>

    I think you will find that it is
    "doskey" which is doing that.
    (and should also be in autoexec)
    I'm using DSKEY with Windows 89SE and load DosKey in Config.Sys to
    conserve precious conventional memory.
    INSTALLHIGH C:\WINDWS\CMMAND\DSKEY.CM /INSERT
  • No.4 | | 886 bytes | |

    Charles Dye wrote:
    Sat, 12 Aug 2006 19:24:42 -0400, "Speirs, Robert J.N."
    <speirs@primus.cawrote:

    >What line of code do I add to c:\autoexec.bat on my notebook PC to enable
    >me to recall entered commands at the DS prompt? Recalling previously
    >entered commands is very convenient. :-)


    You need to load a command-history utility like DSKEY.CM (supplied) or
    Eric Tauck's Toddy ( http://user.mc.net/~warp/software_toddy.html ).

    I highly recommend TDDY. It has command recall and editing,
    auto-completion, a chained-command feature, macros, key macros, and
    a host of command-line switches and options.

    better yet, replace the lame CMMAND.CM with 4DS, which is now
    free, and which offers a properly integrated command history, among
    numerous other enhancements: http://jpsoft.com/download.htm

Re: recall entered commands at DOS prompt


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 8 =
QUESTION ON "MS DOS"

EMSDN.COM