SaveScript
Top  Previous  Next


Saves current script

Category
General

Script section
All

SaveScript FileName

FileName
Name of file to save, include full path if not current directory  

Tip
Use this command in automated scripts in the [OnError] section to save the current script position.

Example
Save current script, including marker positions, send alert to administrator

[OnError_Batch_Begin]
SaveScript C:\Scripts\Err_%date%.cnu
DOS net send administrator %LastErrorCommand% - %LastErrorMsg%
[OnError_Batch_End]