|
#1
|
|||
|
|||
|
I need help. I just started using Beyond Compare this week and am just testing the waters on the scripting aspect of it.
I have created a script (see below) and set it as a scheduled task to run. It works great. <font color="blue"> load "DEPT" expand all select right.newer.files right.orphan.files copy right->left </font> But now I am trying to make it so that it generates a log file for exactly when it started, what it did and when it finished. Also including any errors it encountered. Can someone please help? |
|
#2
|
|||
|
|||
|
To log your script to a file add the line: log verbose c:\logfile.txt at the beginning of the script.
__________________
Chris K Scooter Software |
|
#3
|
|||
|
|||
|
Is there any way that I can create the log, but that it doesnt overwrite the previous entries? OR does it have to create a new text file every time i run the script?
I'm having difficulties with our Backup unit and am having to use this as a temporary solution. So i need to have a continous log of all changes, etc. Any ideas? |
|
#4
|
|||
|
|||
|
Use the command:
log verbose append:c:\logfile.txt All scripting commands are described in the Command Line and Scripting section of the help file.
__________________
Chris K Scooter Software |
![]() |
| Thread Tools | |
| Display Modes | |
|
|