Announcement

Collapse
No announcement yet.

Powershell

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

  • Powershell

    Hi, i'm pretty new to powershell, let's say intermediary.
    I have a list of directories in wich i have to compare 2 folders daily.
    This list will become longer every day, so i'm trying to find a way to, in a first time, open all those ''2 subfolders'' using BC, but with a powershell script.

    In resume, when actionning this script, it will open and lunch the compare for all those ''2 subfolders'' of my list of directories.

    For the moment, i dont want it to extract the differences, this will come in a next phase, if i can create something for my first need before.
    Thank for you help!

  • #2
    Hello,

    Did you need to launch the graphical interface on these two folders so you can review and perform manual actions? That would be with the command line:
    C:\Program Files\Beyond Compare 4\bcompare.exe "c:\folder1" "c:\folder2"

    Or did you want to generate a report, as part of an automation?
    bcompare.exe "@c:\bcscript.txt" "c:\folder1" "c:\folder2" "c:\reports\bcreport.html"

    where bcscript can contain some automated instructions, such as
    folder-report layout:side-by-side output-to:"%3" output-options:html-color "%1" "%2"
    Aaron P Scooter Software

    Comment

    Working...
    X