Announcement

Collapse
No announcement yet.

File-report giving invalid parameter

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

  • File-report giving invalid parameter

    I just read the script overview and reference yesterday and have created the following script.

    My intent is to compare 2 files with the same name in 2 locations and produce an over-under, display-all file-report. %1, %2 and %4 all use fully qualified paths containing server names.


    Load "%1" "%2"

    File-report layoutver-under output-to:%4 output-options:wrap-character %3 %3

    If I do not include output-options, I get a parameter error. If I do, I receive a report with the header I used for my last manual compare and the following:
    Produced: 4/5/2005 3:45:30 PM

    Mode: All Lines

    File:

  • #2
    Re: File-report giving invalid parameter

    Hi Jester!

    What value has %3 ?
    IMHO it makes no sense in your example.

    Concerning wrap-character read the BC helpfile carefully again:

    </font><blockquote><font class="small">In Antwort auf:</font><hr />
    wrap-none, wrap-character, or wrap-word word wrapping are available for printer output for file-report only. By default, wrap-none is used.

    [/quote]


    I think you should use the following script (remove the load command):

    Code:
     File-report layout:over-under output-to:%3 %1 %2
    Where
    %1 is a\bla.txt
    %2 is b\bla.txt
    %3 is c\file-report.txt


    Bye
    Christoph

    Comment


    • #3
      Re: File-report giving invalid parameter

      Sweeeeeeet! Thanks.

      Comment

      Working...
      X