Translate page

APPENDTODISK



APPENDTODISK

This command appends the current screen to a file on your hard drive, or to a floppy disk.

Usage

appendtodisk "<fully qualified path\file.name>"

Optionally, you can specify a starting and ending location in the form of row/column, in order to limit the output to only part of the screen. The following example illustrates this input.

appendtodisk c:\temp\work.txt,3/10,20/50

This example copies the contents that exist between row 3, column 10 and row 20, column 50 on the screen to a file on the C-drive, which is in the temp directory and called "work.txt". Another way to write the previous command, in order to permit spaces, would be:

appendtodisk "c:\temp\work.txt, 3/10, 20/50".

Note: The directory must exist, and if the parameters contain any spaces they must be enclosed by delimiters. If the file does not exist, it will be created.