Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-08
2
Medium Priority
?
185 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 1000 total points
ID: 24101094
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 1000 total points
ID: 24101368
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
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.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

927 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