Acceptiing File paths at runtime

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • medhali
    Visitor
    • May 2008
    • 3

    Acceptiing File paths at runtime

    Hello,

    I'm trying to accept path of two files at runtime so that my script will be dyanamic for any files.Can we declare variables & accept the path.Please provide solution.
  • Aaron
    Team Scooter
    • Oct 2007
    • 16009

    #2
    Yes. You can add parameters to a list after the initial call
    bcompare.exe @scriptfile.txt c:\loc1\file1 c:\loc2\file2
    which are then referenced in the scriptfile.txt as %1 and %2

    There is more information on this in the Help file under Using Beyond Compare->Command Line and Scripting->Scripting Overview.
    Aaron P Scooter Software

    Comment

    Working...