DOSKEY is a TSR designed to assist working from the command line by making it easier to edit the command line, by remembering previous commands, and being able to record macros

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

DOSKEY

DOSKEY is a TSR designed to assist working from the command line by making it easier to edit the command line, by remembering previous commands, and being able to record macros.

Syntax:

To load DOSKEY:

DOSKEY [/Switches]

Switches

what  it does

/B:xxx

Sets the size of the buffer for macros and commands. The minimum value of xxx is 256 and the default is 512 (bytes). If DOSKEY is already running, it must be reloaded (with /R) when changing the buffer size.

/E:On|Off

Enables|Disables the display of commands when a macro plays. E(Echo) is On by default.

/F:filename

Retrieves filename - a text file containing a list of macros in the form Macroname=Text

/H

Displays all commands stored in memory. (This list will not be redirected to a file).

/I|O

Specifies whether text is entered in Insert or Overstrike mode by default. In either case the alternative mode can be selected by using <Insert> but the default is reset as soon as <Enter> is used. The default mode is Overstrike.

/K:xx

Sets the size of the keyboard type-ahead buffer. The default is 15 (characters). If DOSKEY is already running, it must be reloaded (with /R) when changing the buffer size.

/L

Sets the maximum size of the line edit buffer. The default is 128 (characters).

/M

Displays a list of all DOSKEY macros currently in the buffer. This list can be redirected to a text file using standard Dos redirection (>)

/R

Installs a new instance of DOSKEY. If DOSKEY is already running, the buffer is cleared of both macros and the Command Line history. Note that installing a new instance of DOSKEY does not remove the previous instance. Thus each use of /R takes another 5K of conventional/upper memory.

Macroname

The name of the macro. This is a string of one or more characters possibly modified by the Ctrl and/or Alt keys.

Text

The text string to be assigned to Macroname. This will typically be one or more DOS commands along with appropriate parameters and/or switches.


To create a DOSKEY macro:

DOSKEY Macroname=Text

To run a macro:

Macroname

Switches

what  it does

/B:xxx

Sets the size of the buffer for macros and commands. The minimum value of xxx is 256 and the default is 512 (bytes). If DOSKEY is already running, it must be reloaded (with /R) when changing the buffer size.

/E:On|Off

Enables|Disables the display of commands when a macro plays. E(Echo) is On by default.

/F:filename

Retrieves filename - a text file containing a list of macros in the form Macroname=Text

/H

Displays all commands stored in memory. (This list will not be redirected to a file).

/I|O

Specifies whether text is entered in Insert or Overstrike mode by default. In either case the alternative mode can be selected by using <Insert> but the default is reset as soon as <Enter> is used. The default mode is Overstrike.

/K:xx

Sets the size of the keyboard type-ahead buffer. The default is 15 (characters). If DOSKEY is already running, it must be reloaded (with /R) when changing the buffer size.

/L

Sets the maximum size of the line edit buffer. The default is 128 (characters).

/M

Displays a list of all DOSKEY macros currently in the buffer. This list can be redirected to a text file using standard Dos redirection (>)

/R

Installs a new instance of DOSKEY. If DOSKEY is already running, the buffer is cleared of both macros and the Command Line history. Note that installing a new instance of DOSKEY does not remove the previous instance. Thus each use of /R takes another 5K of conventional/upper memory.

Macroname

The name of the macro. This is a string of one or more characters possibly modified by the Ctrl and/or Alt keys.

Text

The text string to be assigned to Macroname. This will typically be one or more DOS commands along with appropriate parameters and/or switches.

To create a DOSKEY macro:

DOSKEY Macroname=Text

To run a macro:

Macroname

DOSKEY Commands

What it does

Left/Right cursor

Moves the cursor back/forward one character.

Ctrl + Left/Right cursor

Moves the cursor back/forward one word.

Home/End

Moves the cursor to beginning/end of line.

Up/Down cursor

To scroll up (and back) through the list of stored commands. Each press of the "up" key recalls the previous command and displays it on the command line.

Page Up/Down

Recalls the oldest/most recent command in the buffer

F1

Copies the next character from the Template to the Command Line

F2 + key

Copies text from the Template up to (but not including) key.

F3

Copies the Template from the present character position to the Command Line.

F4 + key

Deletes the characters from the present character position up to (but not including) key.

F5

Copies the current command to the Template and clears the Command Line.

F6

Places an end-of-file character (^Z) at the current position of the Command Line.

F7

Displays a numbered list of the command history.

Alt-F7

Deletes all commands stored in the buffer.

Chars + F8

Entering one or more characters Chars followed by F8 will display the most recent command beginning with Chars. Pressing F8 again will display the next most recent command beginning with Chars, and so on.

F9 + Command#

Displays the designated command on the command line.

Alt-F10

Deletes all macro definitions.

To delete a macro:

DOSKEY Macroname=

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor