Selecting Rules like Sessions.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    Selecting Rules like Sessions.

    I would like to know if its possible to select a perticular rule set (Rules.bcru) to be used while running BC2 in script mode.

    My problem is i need to get an .csv based on one set of rules then another .cvs based on another set of rules. (i.e. Comments as important once, and comments as unimportant once)
    Is there any posibility of this.
    Any alternative method would also be greatly helpful.

    Thankyou
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Re: Selecting Rules like Sessions.

    By default scripting will use rules based on file extension, starting at the top of the rules list (in the Rules section of Tools|Options).

    There isn't a script command to force the use of specific rules, but you can use a command line switch to force rules.

    Use the /rules= switch. This will force all rules-based comparisons to use the specified rules.

    Example:

    bc2.exe /rules="Delphi Source" @script.txt
    Chris K Scooter Software

    Comment

    Working...