Command Prompt (cmd.exe) command line interface

L

Larry__Weiss

Is there a web page that describes the use of cmd.exe as
a command line interface?

I'm trying to figure out what the right-click --> Scroll selection does.

By experimentation by right-clicking inside a Command Prompt window:

right-click --> Mark initiates text selection
right-click --> Copy selects text
right-click --> Paste pastes text selection to current oommand
right-click --> Select All selects all text in the buffer
right-click --> Scroll ???
right-click --> Find selects text after finding in in the buffer

Notes:
Copy
o must be invoked by the Enter key as the menu entry is
always greyed out
o right-click after marking text is also is a keyboard shortcut for
Copy

Scroll
o Greys out Mark and Paste until a selection is made, but I can't
figure out what it is used for


- Larry
 
P

POP

In
Larry__Weiss said:
Is there a web page that describes the use of cmd.exe as
a command line interface?

I'm trying to figure out what the right-click --> Scroll
selection
does.
By experimentation by right-clicking inside a Command Prompt
window:

right-click --> Mark initiates text selection
right-click --> Copy selects text
right-click --> Paste pastes text selection to current
oommand
right-click --> Select All selects all text in the buffer
right-click --> Scroll ???
right-click --> Find selects text after finding in in
the
buffer
Notes:
Copy
o must be invoked by the Enter key as the menu entry is
always greyed out
o right-click after marking text is also is a keyboard
shortcut for
Copy

Scroll
o Greys out Mark and Paste until a selection is made, but I
can't
figure out what it is used for


- Larry

You mean cmd /? command?
 
W

Wesley Vogel

I'm trying to figure out what the right-click --> Scroll selection does.

Do you mean right click, hold the button down and move the scroll wheel on a
three button mouse?

No you do not.

You mean Scroll on the Edit menu. Beats the heck out of me.

Try asking here...

microsoft.public.win2000.cmdprompt.admin

If you have Insert mode and QuickEdit mode enabled you can bypass the Edit
menu.

This will set the QuickEdit Mode and the Insert Mode.

Right click the cmd.exe shortcut | Properties | Options tab |
Under Edit Options select both:
QuickEdit mode
and
Insert mode
Click Apply | Click OK

QuickEdit mode
[[Enables you to use a pointing device (mouse) to cut and paste, bypassing
the Edit menu.]]

This option provides a fast, easy way to copy text from (and paste text
into) Command Prompt windows with a mouse. You can highlight text with a
mouse and use the Enter key to copy the highlighted text to the Windows
Clipboard. Or highlight text and right click to copy to clipboard.

Insert mode
[[Enables you to insert text at the cursor. If this is not selected, text
that is typed at the cursor replaces existing text.]]

This option (on by default) allows you to insert text at the cursor
position. You can right click and paste.

Or...
Open a command Prompt | Right click the top border |
Properties | Options tab | Under Edit Options select both:
QuickEdit mode
and
Insert mode
Click Apply | Click OK | Place a tick in Modify shortcut that started this
window | Click OK.
-----

Highlight text with the cursor and hit the Enter key to copy to the Windows
clipboard. Or highlight text and right click to copy to the Windows
clipboard.

[[By selecting the Quick Edit Mode check box, you enable copy and paste from
the Command Prompt window. To copy, select the text in the Command Prompt
window with your left mouse button, and then right-click. To paste, either
at the command prompt or in a text file, right-click.]]
-----

Open a command prompt, type: cmd /? hit your Enter key.

Paste the following line into Start | Run and click OK...

hh ntcmds.chm::/Cmd.htm

To configure the command prompt
hh ntcmds.chm::/CommandPromptOptions.htm

HOW TO: Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019

Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp

Introduction to the Windows Command Prompt
http://www.bleepingcomputer.com/tutorials/tutorial76.html

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

Frequently Asked Questions Regarding The Windows 2000 Command Processor
http://www.microsoft.com/technet/prodtechnol/Windows2000serv/support/FAQW2KCP.mspx

Information about command and CMD commands
http://www.computerhope.com/cmd.htm

The Command Line in Windows XP commands that everybody can use
http://commandwindows.com/command2.htm

The Windows NT Command Shell
By Tim Hill
Chapter 2 from Windows NT Shell Scripting, published by MacMillan Technical
Publishing
http://www.microsoft.com/technet/prodtechnol/winntas/deploy/shellscr.mspx

Undocumented Command Prompt Tips
http://www.windowsitpro.com/Windows/Article/ArticleID/3678/3678.html

Command Prompt Configuration guide
http://www.capa.net/manuals/TechMail/cmd_exe/cmdexe.html

Command Prompt Registry Tweaks
http://www.winguides.com/registry/category.php/180/

Creating a customized Command Prompt shortcut
http://johnbokma.com/windows/command-prompt-shortcut.html

Customizing CMD
http://wint.virtualplastic.net/showtweak.php?tweak_id=73

DOS is Dead, Long Live the Command Line
http://vlaurie.com/computers2/Articles/command.htm

How to Change the Title Bar Caption of the Command Prompt
http://support.microsoft.com/default.aspx?scid=kb;en-us;98578

How to Enable Automatic Complete for the Command Prompt (Cmd.exe)
http://support.microsoft.com/default.aspx?scid=kb;en-us;244407

HOW TO Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019

How To Use Automatic Completion with a Command Prompt in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;310530

INFO Preventing the Console Window from Disappearing
http://support.microsoft.com/default.aspx?scid=kb;en-us;99115

INFO Setting the Console Configuration
http://support.microsoft.com/default.aspx?scid=kb;en-us;105674

Set the Command prompt default path to a certain directory
http://windowsxp.mvps.org/autoruncmd.htm

Starting Command-Line Tools and Logging Output
http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prmb_tol_lrpk.asp

To configure the command prompt
http://www.microsoft.com/windowsxp/.../using/productdoc/en/CommandPromptOptions.asp

Using the More Option at a Command Prompt
http://support.microsoft.com/?kbid=227449

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
L

Larry__Weiss

Wesley said:

Thanks for the many links to the cmd.exe related resources.
Two of the links do not currently point to expected content.
Command shell overview
http://www.microsoft.com/windowsxp/.../using/productdoc/en/ntcmds_shelloverview.asp
The link cited above is obsolete.
Here is a current article with that title:
http://www.microsoft.com/resources/...docs/en-us/ntcmds_shelloverview.mspx?mfr=true
To configure the command prompt
http://www.microsoft.com/windowsxp/.../using/productdoc/en/CommandPromptOptions.asp
The link cited above is obsolete.
Here is a current article with that title:
http://technet2.microsoft.com/Windo...7bc9-4b5c-9c68-53a8b3c593f61033.mspx?mfr=true

- Larry
 
W

Wesley Vogel

Jeez, I hate those technet2.microsoft.com, Server 2003 links, they take
forever to load.

Thanks for the new links, Larry.

Although both are on your machine.

Command shell overview
Start | Run | Type:
hh ntcmds.chm::/ntcmds_shelloverview.htm

configure the command prompt
Start | Run | Type:
hh ntcmds.chm::/CommandPromptOptions.htm

Both work from a command prompt as well as the Run command.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
L

Larry__Weiss

Wesley said:
Command shell overview
hh ntcmds.chm::/ntcmds_shelloverview.htm

configure the command prompt
hh ntcmds.chm::/CommandPromptOptions.htm

Thanks! I had never used
hh ntcmds.chm
before today. I have a lot to read!

- Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top