[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2012-03-12
2
Medium Priority
?
439 Views
Last Modified: 2012-08-13
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
Comment
Question by:Braxton123
2 Comments
 
LVL 9

Accepted Solution

by:
AdrienneSperber earned 2000 total points
ID: 37712060
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
 

Author Closing Comment

by:Braxton123
ID: 37713882
Thank you
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question