Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2016
    Posts
    2

    Default Log to Console instead of file

    I am running BComp.com with a script within a batch file as part of my automated deployment process and it is working well in my testing. However, I can't figure out how to get it to write the log of what it is doing out to the console so it is captured with the rest of my batch command output, it seems it can only log to a file. I just want what is normally output to the file to be displayed in the command console output, what am I missing?

    Code:
    log verbose
    option confirm:yes-to-all
    load "{session}"
    expand all
    compare
    select left.diff.files left.orphan.files
    copy left->right
    Code:
    "C:\Program Files (x86)\Beyond Compare 4\BComp.com" "@{script}" /silent

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,890

    Default

    Hello,

    Our script options do not support direct console output. You would need to output to a file (log verbose "c:\logs\bclog.txt"), then on script completion work the file into your overall automation. You could add a call to "type c:\logs\bclog.txt" to output the file to the console, or use another method to incorporate the log's data.
    Aaron P Scooter Software

  3. #3
    Join Date
    Apr 2016
    Posts
    2

    Default

    Thanks for the workaround, I'll give it a try.
    I hope this is a feature you would consider for a future version, thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •