Solved

How do I write a script that will archive files from one folder to another every night.

Posted on 2009-04-08
2
174 Views
Last Modified: 2012-05-06
Specifically they are scanned files and want them to be archived every night into another folder so that the scans folder is empty the following morning. Any help..?
0
Comment
Question by:btny
2 Comments
 
LVL 3

Accepted Solution

by:
darmented earned 250 total points
Comment Utility
Create a BAT file to move all the files to the archive folder (Using the MOVE command) and then schedule it to run as a task at the required time.
0
 
LVL 1

Assisted Solution

by:inov8iv
inov8iv earned 250 total points
Comment Utility
You could create an AutoIT script, the software is free and you can run it and have it trigger at your required times.  You can set the files you want it to backup or folders.  You can also get a Lot of help from their website in the forums.  

http://www.autoitscript.com
http://www.autoitscript.com/autoit3/downloads.shtml <-- Downloads Here
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now