There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot browser bsod computer cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware missing monitor network networking outlook outlook 2003 outlook 2007 outlook express password popups problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
UP arrow won't load last used command


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
bonehead79's Avatar
Junior Member with 2 posts.
 
Join Date: Jan 2008
Location: NE Ohio
Experience: Intermediate
10-Jan-2008, 03:36 PM #1
UP arrow won't load last used command
Greetings!

I've experienced this on a number of PC's: When using the command prompt, all of a sudden, I can't get my previous commands to come up by hitting the UP arrow (or F3, or any other key). Can anyone tell me how to fix this issue?

Thanks, J
ZeRealBigBoss's Avatar
Computer Specs
Senior Member with 194 posts.
 
Join Date: Mar 2007
Location: Auckland, NZ
Experience: Assembler freak
10-Jan-2008, 05:03 PM #2
Assuming you are running DOS V6.22 or V7: call doskey.com; that will load the keyboard command buffer. doskey /? for help.
bonehead79's Avatar
Junior Member with 2 posts.
 
Join Date: Jan 2008
Location: NE Ohio
Experience: Intermediate
11-Jan-2008, 05:18 PM #3
Round 2
Thanks, ZRBB.

BTW, I'm currently addressing this problem on an XP SP2 box, but I've experienced it with ME, and '98 SE as well.

I played with some of the DOSKEY commands and hot keys. </HISTORY> didn't show anything. </REINSTALL> didn't change anything (that I could see) with regard to the arrow keys. I checked some of the other listed hot keys, too:

F7 just echos a <^@>
F6, a <^Z>
F5. a <@>
ESC, a <\>

These outputs were present before and after the reinstall(s).

Please let me know if anything I've reported helps to identify my problem (excluding my obvious limited knowledge and experience with the Windows CLI).

Thanks again,

Bonehead
ZeRealBigBoss's Avatar
Computer Specs
Senior Member with 194 posts.
 
Join Date: Mar 2007
Location: Auckland, NZ
Experience: Assembler freak
17-Jan-2008, 03:57 PM #4
Patience
sometimes is required; I have not always the time to post here.

On both my W98SE and the XP2 the DOSKEY works, on the latter with cmd.exe in the DOS box as well as with command.com in it. I tried to recreate your error to see where it might come from, but, try as I might, I could not get any of the two malfunctioning. Strange: if you want it to go wrong, it doesn't, if you don't, it does.

I must admit that I can not guess, educated or wild, what might cause it. Sorry for that. Maybe Bob Cerelli, blues_harp or flavallee know.
TheOutcaste's Avatar
Computer Specs
Senior Member with 1,570 posts.
 
Join Date: Aug 2007
Location: Oregon, USA
Experience: Intermediate
18-Jan-2008, 01:38 AM #5
For XP, are you perhaps running command.com instead of cmd.exe? The version of command.com that comes with XP is very limited. It does not have a command history buffer (despite the fact that is shows on the Properties dialog) and doskey loads but does not function. Doskey can create macros but they won't execute.

With cmd.exe you don't need doskey for the command history to work, but is useful if you want to create macros.

I haven't a clue as to why ME or 98 wouldn't function, unless someone copied the XP version of command.com to those systems.

HTH

Jerry
__________________
Of course I know all the answers ; I just don't always match the answers to the right questions

Warning -- Windows spoken here. (Rated R for Strong Language and Violence -- When your Windows PC flies through a window, that's violent, right?)
ChuckE's Avatar
Senior Member with 1,848 posts.
 
Join Date: Aug 2004
Location: Redondo Beach, CA
Experience: Advanced
20-Jan-2008, 03:19 AM #6
How are you getting to your DOS window? I suspect it is like TheOutcaste said, that you are using command.com and not cmd.com.

Using your WinXP, try this and tell use what happens or changes:
Use the Start>Run window, and type in cmd.
Then click the [OK] button, and try your tests in that DOS window.

You should not need to use Doskey, to get the previously used commands to appear with the {Up Arrow}.
__________________
Rehab is for quitters.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:25 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.