Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / New Users / January 2005

Tip: Looking for answers? Try searching our database.

Command prompt keyboard shortcuts in XP?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Spike - 31 Jan 2005 10:17 GMT
Hi!

Are the command prompt editing keyboards available in XP?
In the dark ages I could use F3 to complete a previous
command and the arrow keys were quite helpful.

These keys don't seem to work at a command prompt in XP Home
Edition. Any ideas on how to enable them?

Thanks!

Spike
Jeff Gaines - 31 Jan 2005 11:31 GMT
> Hi!
>
[quoted text clipped - 8 lines]
>
> Spike

You're not thinking of the good old days of 'Edlin' are you?

Once you have entered a command or two in a command window the up/down
arrow keys allow you to scroll through those commands.

You can also enter partial names and use the tab key for auto
completion (for files/folders in the current folder).

Signature

Jeff Gaines
Posted with XanaNews 1.17.1.2

GTS - 31 Jan 2005 15:33 GMT
Are you running command.com or cmd.exe?   You should normally use the latter
in XP.  It supports F1 and F3 the same old way.  Additionally F7 (list
command queue) and F9 (select command by queue number).
Signature


> Hi!
>
[quoted text clipped - 8 lines]
>
> Spike
george - 31 Jan 2005 16:28 GMT
if you are running cmd.exe try these:
F1  Repeats the letters of the last command line, one by one
F2  Displays a dialog asking user to "enter the char to copy up to" of the
last command line
F3  Repeats the last command line
F4  Displays a dialog asking user to "enter the char to delete up to" of the
last command line
F5  Goes back one command line
F6  Enters the traditional CTRL+Z (^z)
F7  Displays a menu with the command line history
F8  Cycles back through previous command lines (beginning with most recent)
F9  Displays a dialog asking user to enter a command number, where 0 is for
first command line entered

hth

george

> Hi!
>
[quoted text clipped - 8 lines]
>
> Spike
R. C. White - 31 Jan 2005 21:17 GMT
Hi, George.

Thank you!  And GTS, too!

I've been working with MS-DOS since the early 1980s and spend much of each
day in WinXP's "DOS" window, but I never knew about F7 and F9 - and some of
those others.  I've wished for such functions, but didn't know they were
there.

RC
Signature

R. C. White, CPA
San Marcos, TX
rc@corridor.net
Microsoft Windows MVP

> if you are running cmd.exe try these:
> F1  Repeats the letters of the last command line, one by one
[quoted text clipped - 27 lines]
>>
>> Spike
george - 31 Jan 2005 22:11 GMT
You're welcome.
One additional remark though.

There are two command processors in Win XP (or W2K or NT4 for that matter)

One is called cmd.exe which basically is a regular WIN XP process
fire it up and you'll see:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\george
That's the one that 'knows' about these F-keys.

The other one is a Virtual DOS machine (ie. environment; visible as the
process called NTVDM.EXE) that mimics MS-DOS behaviour and is called
command.com.
Fire it up and you'll see:
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\GEORGE>
As such it basically does only 'know' about things that MS-DOS 'knew' about
(see the 8.3 short-names)
The F-keys behave as in MS-DOS and up/down arrow keys don't cycle through
the command history either.

:-))

george

> Hi, George.
>
[quoted text clipped - 37 lines]
>>>
>>> Spike
george - 31 Jan 2005 22:14 GMT
Oh yeah,

it also requires 'extra' handling when closing it.
Try closing it withthe X (top right hand).
The OS guards you against a possible app still running that was started
through this command window.
You either have to aknowledge the termination of the command window or
explicitely type exit in it.

george

> Hi, George.
>
[quoted text clipped - 37 lines]
>>>
>>> Spike
R. C. White - 31 Jan 2005 23:10 GMT
Hi, George.

Yeah, I know about Cmd.exe and Command.com.  As I said, I have at least one
"DOS" window open most of the day.  (Dir /s /a works a heck of a lot quicker
than WinXP's Search - and actually finds files!)

But I didn't know about F7 and some of those others.

RC
Signature

R. C. White, CPA
San Marcos, TX
rc@corridor.net
Microsoft Windows MVP

> Oh yeah,
>
[quoted text clipped - 49 lines]
>>>>
>>>> Spike
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.