I have two text files that I want to do a text compare and add the new lines from one file to the other. Can I script this?
One file will have a line added to it each day and I want to add that line to a master list with a scripted scheduled task.
This only seems to work for folders, not files.
# Dat_Script.txt
# Copy Fld724 HTL to fld426 I:Component DBS010
# "C:\Program Files (x86)\Beyond Compare 3\BCompare.exe"
# "@C:\Temp\Dat_Script.txt"
# Turn logging on
log verbose append:"C:\Temp\%date%_Dat_Script_log.txt"
# Override Prompt
option confirm:yes-to-all
load "C:\Temp\New Text Document.txt" "C:\Temp\New Text Document (2).txt"
expand all
sync create-empty update:left->right
One file will have a line added to it each day and I want to add that line to a master list with a scripted scheduled task.
This only seems to work for folders, not files.
# Dat_Script.txt
# Copy Fld724 HTL to fld426 I:Component DBS010
# "C:\Program Files (x86)\Beyond Compare 3\BCompare.exe"
# "@C:\Temp\Dat_Script.txt"
# Turn logging on
log verbose append:"C:\Temp\%date%_Dat_Script_log.txt"
# Override Prompt
option confirm:yes-to-all
load "C:\Temp\New Text Document.txt" "C:\Temp\New Text Document (2).txt"
expand all
sync create-empty update:left->right
Comment