/
APPENDTODISK

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.


Related content

SCREENTODISK
More like this
Saving Screens to a File
Saving Screens to a File
More like this
List of Supported Commands
List of Supported Commands
More like this
Script Commands and Usage
Script Commands and Usage
More like this
Screen.GetStringWithAttribs_Method
Screen.GetStringWithAttribs_Method
More like this
Screen.GetStringWithAttribs Method
Screen.GetStringWithAttribs Method
More like this