• Oct 17, 2012
    451
    110
    43
    Hi Guys, I want to move the text file from a server location to another location by using .Bat file
    And I want that content to be appended to the moved file.

    I tried this.. But its not moving the file. But it is copied.
    type "\\Server1\xxx\textfile.txt" >> "\\sever2\yyy\textfile.txt[/B
    ]"
     

    Dezel X2

    Well-known member
  • Mar 13, 2007
    1,479
    270
    83
    Colombo
    robocopy \\Server\D:\Source \\Server\G:\Destination *.txt

    Or

    Xcopy \\Server\D:\Source \\Server\G:\Destination *.txt