PRODUCT






Home









Free Download








Installation Instructions





FAQ





FAQ








Ask A Question





LEARN SCRIPTING





Overview








Lesson 1








2


3


4


5








Exam





SAMPLE SCRIPTS





Computer








Internet








Administrators








Developers








Data








Miscellaneous





HELP / DOCUMENTATION





Commands








Automated Internet








Automated Editors








Sample Scripts








Precompiled Functions








System Features






  Help Page - savses

( Some help pages may not display correctly in html because those help pages may have sample code
in them, part of which may be mis-interpreted as html tags.

All help pages, including this help page, are available in biterScripting with the help command. )




Command savses Purpose Saves text (commands, output, errors) from current session. Aliases savesession, savses Syntax savses [ <options> ] Options -a Save all. Output and Errors are also saved along with commands. Without this option, only commands are saved, output and errors are not saved. Arguments None Stream Input Ignored. Stream Output The session text is written to the stream output. Stream Error Any errors are listed here. Description This command saves the text from current session. The session text contains the following. - Commands entered on the command line. These are always saved. - Output and errors from these commands written to the screen. This part of the session text is saved only if the -a option is specified. In case the -a option is specified, only the output and errors written to the screen are saved. Redirected output and errors are not saved. Restrictions This command is available only in interactive mode. In batch or non-interactive mode, the commands, their output and errors are all saved using redirection. For performace improvement, output and errors written to screen are limited in size. When their size becomes large, it is periodically shortened by the system by removing output and errors from the earliest commands. As a result, with the -a option, the saved session text is sometimes NOT the full session text, but the latest session text. If -a option is not specified, all commands are saved, including the earliest commands. Valid Examples savses > "C:/TodaysSession.txt" Will save the commands to the specified file. var str datetime set $datetime=gettime() # Get the date var str date set $date = { chex "8]" $datetime } # Create file name reflecting the date var str file set $file="C:/Session_"+$date+".txt" savses -a > { echo $file } The above will save commands, output, error to file C:/Sessions/Session_<today's date>.txt. C:/Sessions/Session_20080725.txt is an example. Invalid Examples See Also gettime

2008-2013, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com. Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.