Announcement

Collapse
No announcement yet.

Select Folder

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

  • Select Folder

    Hi there

    My BCSCript.txt file which calls the BC2.exe looks as follows

    Code:
     
     option confirm:yes-to-all
     filter "-.\bin\"
     load "%tempfolder%\Folder1.compiled" "\\%1\g$\Folder1"
     log verbose
     expand all
     select all
     compare binary
     select left.diff.all left.orphan.all left.newer.files
     copyto lt path:base "%tempfolder%\Crunched\Folder1.compiled"
    This is all working fine and well.

    Is it possible to copy the "bin" folder on the left side which was excluded in the above compare onto "%tempfolder%\Crunched\Folder1.compiled\bin"
    I tried something like this and didn;t work

    Code:
     
     select left.bin
     copyto lt path:base "%tempfolder%\Crunched\Folder1.compiled\bin"
    can u please advice how to copy the left bin folder as well as a part of the copying process

  • #2
    Hello,

    Scripting is sequential, so you could end your current script with:
    ...
    copyto lt path:base "%tempfolder%\Crunched\Folder1.compiled"
    filter "-.\*.*;.\bin\"
    select left.all
    copyto lt path:base "%tempfolder%\Crunched\Folder1.compiled\bin"

    How does that work for you?
    Aaron P Scooter Software

    Comment


    • #3
      Thanks Aaron that worked as expected

      Comment

      Working...
      X