/
SCREENTODISK
SCREENTODISK
SCREENTODISK
This command copies the current screen’s text to the user specified file
Usage: screentodisk c:\temp\work1.txt
or
screentodisk ‘‘c:\program files\work1.txt’‘
or
screentodisk %varname%
Optionally you can specify a starting and ending location in the form of row/column to limit the output to only part of the screen. As an example the command
screentodisk c:\temp\work.txt,3/10,20/50
will copy the contents of the screen between the locations row 3 column 10 and row 20 column 50 to a file on the C-drive in the temp directory called work.txt. Another way to write the previous command would be
screentodisk ‘‘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
, multiple selections available,
Related content
APPENDTODISK
APPENDTODISK
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
Screen.GetStringWithAttribs_Method
Screen.GetStringWithAttribs_Method
More like this
Screen.GetStringWithAttribs Method
Screen.GetStringWithAttribs Method
More like this
GetString (Method)
GetString (Method)
More like this