[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

How to use Windows Server 2008 scheduled task to copy folder contents to another folder.

Im trying to use scheduled task to copy the contents of one folder to another folder. Can anyone help with with directions to this simple task, or should be simple task that I cant figure  out.


Brax
0
Braxton123
Asked:
Braxton123
1 Solution
 
AdrienneSperberTech Support CoordinatorCommented:
ROBOCOPY \\Folder Location \\Copy Location /S /R:2 /LOG:LogName.txt /NP /NFL /NDL
 

Put that in notepad, replacing folder location with the folder you want copied and copy location with the location of the copied folder.  Save it as a .bat and have the scheduled task run it.


see: http://ss64.com/nt/robocopy.html
for reference of commands
0
 
Braxton123Author Commented:
Thank you
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now