Announcement

Collapse
No announcement yet.

ErrorLevel how to cet results from batch file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ErrorLevel how to cet results from batch file

    I want to compare 2 folders, actually 2 disks but it does not matter.
    With /qc I can compare 2 files and get the error level.
    How can I call compare command from batch file and if
    folders match then go on from my batch file.

    I can not find any information about errorlevels
    except when using /qc but that does not support folder comparison, just 2 files.

    Thank for your help

  • #2
    Re: ErrorLevel how to cet results from batch file

    There isn't currently a way to compare two folders and get a comparison result as an error level. In the current BC this is only supported for a pair of files.

    In the future we'll consider adding support to do this with folders.
    Chris K Scooter Software

    Comment


    • #3
      Re: ErrorLevel how to cet results from batch file

      I'd appreciate errorlevel support, as well. For me, setting the ErrorLevel to the number of errors that occured during a script would be best.

      Comment

      Working...
      X