Copy Subfolders

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bgreer5050
    Journeyman
    • Jul 2008
    • 16

    Copy Subfolders

    How do I copy subfolders as well as the files. Below is my script:

    log verbose c:\scripts\scriptlog43.txt
    option confirm:yes-to-all
    filter "-*.wma"
    filter "-*.mp3"
    criteria timestamp:5000sec;ignoreDST
    load "\\10.0.200.150\Company\Traffic" "\\10.0.200.2\n$\backups\10.0.200.150\Company\Traf fic"
    select left.newer.files left.orphan.files
    copy left->right

    Thanks
  • chrroe
    Pooh-Bah
    • Oct 2007
    • 588

    #2
    Hi!

    You have to add the expand command between the load and select commands. Please refer to the BC helpfile (scripting reference) for infos about the syntax.

    Hope this helps ...

    Bye
    Christoph

    Comment

    Working...