Solved

folder monitoring software/automatically move files

Posted on 2013-01-04
2
577 Views
Last Modified: 2013-01-17
Anyone know of software, freeware preferable, that will monitor a folder on a Windows7 64 bit workstation, and then transfer it automatically to another folder?  The other folder is on a folder that is shared off of a Server 2008R2 box.
I have seen programs like this in the past but never had need for one.  I need one that can monitor the folder and transfer any files in it to the network folder automatically.

Thanks
0
Comment
Question by:AE_JB
2 Comments
 
LVL 17

Assisted Solution

by:Kent Dyer
Kent Dyer earned 300 total points
ID: 38745160
You can craft your own..  Setup a Windows Scheduled Task and have it repeat every 5 minutes or so...

FileSystemObject
Use the server fso.fileexsts and if there is a file in there, then act on it..

Set fso = CreateObject("Scripting.FileSystemObject")
If fso.fileexists("D:\WatchFolder\*.ext") Then
Set objFolder = fso.GetFolder("D:\WatchFolder\")
Set colFiles = objFolder.Files
For Each objFile In colFiles
	FLPath = objFile.Path
	fso.movefile "D:\WatchFolder\", "E:\NewFolder\"
Next
	End If

Open in new window


HTH,

Kent
0
 
LVL 40

Accepted Solution

by:
footech earned 200 total points
ID: 38745201
You can actually use Robocopy to do this.
robocopy sourcedir \\srv\destdir /mov /mon:1

Open in new window

You can specify to move files only when a certain number of changes are detected, or you could run it something like 5 minutes after a change is detected with the /mot switch.  All this could also be set to run via the Task Scheduler so that you don't have to be logged on or remember to start the task.
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

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

839 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