Text whith a list of files RRS feed

  • Question

  • i am working in a script:

    @echo off

    @color A

    Robocopy C:\emp G:\Backup-emp\outro/emp /E /Is
    Robocopy C:\Programas\SIREdit2 G:\Backup-emp\eu/SIREdit2 /E /Is
    Robocopy "C:\Documents and Settings\outro\Os meus documentos" "G:\Backup-emp\outro/Os meus documentos" /E /Is
    Robocopy C:\fornecedores "G:\Backup-emp\outro\Os meus documentos/fornecedores" /E /Is
    Robocopy C:\unica "G:\Backup-emp\outro\Os meus documentos/unica" /E /Is
    Robocopy "C:\Documents and Settings\admin\Os meus documentos" "G:\Backup-emp\eu/Os meus documentos" /E /Is
    Robocopy "C:\Documents and Settings\admin\Ambiente de trabalho" "G:\Backup-emp\eu/Ambiente de trabalho" /E /Is
    Robocopy "C:\Documents and Settings\admin\Definições locais\Application Data\Microsoft\Outlook\*.*" "G:\Backup-emp\outro\mails emp" /E /Is

    for /f "usebackq delims=" %%d in (`"dir /ad/b/s | sort /R"`) do rd "%%d"

    rename G:\Backup-emp G:\Backup-emp[19-03-2014]

    @rem exit

    this is working very good but i need that the script generate a text of all archives he as copyed...can you helpe-me in this?


    Wednesday, March 19, 2014 2:58 PM


  • yes...can you pu that in the script to me?...what the diference /LOG and /LOG+?...thanks

    The robocopy help information tells you how to use it. If you're not familiar with how to use command-line tools, I recommend getting help from a system administrator or consultant.

    -- Bill Stewart [Bill_Stewart]

    Wednesday, March 19, 2014 3:17 PM

All replies