Hi there,
This is my second script, today I'm trying to do a .bat file with something like this, but it does not work, i just want to compare the content from two files and generate a html report with the option display all:
In my .bat file
CD C:\Archivos de programa\Beyond Compare 3
BComp.exe @"C:\Documents and Settings\japajari\scripf.txt" "C:\enforms\sfe_enf\ZATDB" "C:\enforms\kio_enf\ZATDB" "C:\enforms\ZATDB.html"
CD C:\Documents and Settings\japajari
And the scripf.txt
file-report layout:side-by-side &
options:display-all &
title:"Comparacion" &
output-to:%3 %1 %2 output-options:html-color
And it generated an error:
20/02/2014 12:03:14 p.m. >> file-report layout:side-by-side &
20/02/2014 12:03:14 p.m. >> options:display-all &
20/02/2014 12:03:14 p.m. >> title:"Comparacion" &
20/02/2014 12:03:14 p.m. >> output-to:C:\enforms\ZATDB.html C:\enforms\sfe_enf\ZATDB C:\enforms\kio_enf\ZATDB output-options:html-color
20/02/2014 12:03:14 p.m. Fatal Scripting Error: Unexpected argument(s) "C:\enforms\sfe_enf\ZATDB"
20/02/2014 12:03:17 p.m. Script completed in 2.8 seconds
could you guide me?? please
This is my second script, today I'm trying to do a .bat file with something like this, but it does not work, i just want to compare the content from two files and generate a html report with the option display all:
In my .bat file
CD C:\Archivos de programa\Beyond Compare 3
BComp.exe @"C:\Documents and Settings\japajari\scripf.txt" "C:\enforms\sfe_enf\ZATDB" "C:\enforms\kio_enf\ZATDB" "C:\enforms\ZATDB.html"
CD C:\Documents and Settings\japajari
And the scripf.txt
file-report layout:side-by-side &
options:display-all &
title:"Comparacion" &
output-to:%3 %1 %2 output-options:html-color
And it generated an error:
20/02/2014 12:03:14 p.m. >> file-report layout:side-by-side &
20/02/2014 12:03:14 p.m. >> options:display-all &
20/02/2014 12:03:14 p.m. >> title:"Comparacion" &
20/02/2014 12:03:14 p.m. >> output-to:C:\enforms\ZATDB.html C:\enforms\sfe_enf\ZATDB C:\enforms\kio_enf\ZATDB output-options:html-color
20/02/2014 12:03:14 p.m. Fatal Scripting Error: Unexpected argument(s) "C:\enforms\sfe_enf\ZATDB"
20/02/2014 12:03:17 p.m. Script completed in 2.8 seconds
could you guide me?? please
Comment