I am getting a couple directory access errors when I am running BC from the command line using a script. I ran it both with and without the silent switch. THe error I am seeing is this:
log verbose "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs"
Cannot Create file "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs". Access is denied.
It then runs through the rest of the script until I get to where I am generating the report and I get the folling error
file-report layoutver-under options:ignore-unimportant,display-mismatches output-to: "C:\report.txt"
Beyond Compare Version 2.5 (build 250)
Exception occured at: 0000B631
Unable to create directory
Here is the full script:
# Turn Logging on
log verbose "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs"
# load comparison
Load "C:\Documents and Settings\DanS\My Documents\WorkingFolder\Database Administration\Reference\XPSQLT02" "N:\InformationTechnology\OperationsTechnology\Dat abaseAdministration\Reports\Daily\ObjectScripts\XP SQLT02\20080717"
expand all
select diff.files
# apply filters
filter "-*.scc;-.\QuestWorkDatabase\"
# run comparison
compare rules-based
# output report
file-report layoutver-under options:ignore-unimportant,display-mismatches output-to: "C:\report.txt"
log verbose "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs"
Cannot Create file "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs". Access is denied.
It then runs through the rest of the script until I get to where I am generating the report and I get the folling error
file-report layoutver-under options:ignore-unimportant,display-mismatches output-to: "C:\report.txt"
Beyond Compare Version 2.5 (build 250)
Exception occured at: 0000B631
Unable to create directory
Here is the full script:
# Turn Logging on
log verbose "C:\Documents and Settings\DanS\My Documents\ComparisonReports\logs"
# load comparison
Load "C:\Documents and Settings\DanS\My Documents\WorkingFolder\Database Administration\Reference\XPSQLT02" "N:\InformationTechnology\OperationsTechnology\Dat abaseAdministration\Reports\Daily\ObjectScripts\XP SQLT02\20080717"
expand all
select diff.files
# apply filters
filter "-*.scc;-.\QuestWorkDatabase\"
# run comparison
compare rules-based
# output report
file-report layoutver-under options:ignore-unimportant,display-mismatches output-to: "C:\report.txt"
Comment