2 DOS questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am running Windows XP and want to know if there are any commands in DOS for
finding the following info. The set command doesn't do it...

1) Computer Description. Set command give computer name, but not value in
Computer description

2) Is there a way to log a DOS session so that I can have a file of what
I've done in a DOS window?

Thanks for any help!
 
Taz said:
I am running Windows XP and want to know if there are any
commands in DOS for finding the following info. The set
command doesn't do it...

1) Computer Description. Set command give computer name,
but not value in Computer description

Unclear: What sort of "value" are you looking for? Have you
tried SET /? for the command set?
2) Is there a way to log a DOS session so that I can have a
file of what I've done in a DOS window?

Yes, but not without some complexity. Trysearching microsoft
groups for batch files; good folk there. This is not a DOS (or
Command Prompt) group.
 
Unclear: What sort of "value" are you looking for? Have you
tried SET /? for the command set?

Perhaps he's looking for what can be found by right-clicking My Computer
and selecting Properties?
 
Type: doskey /? and hit Enter.

F7 displays command history.

Also...
Alt + Spacebar + E + S will Select All the contents of a command window.

You can then paste into Notepad or whatever.

Command Prompt Copy & Paste

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.]]

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top