Solved

folder monitoring software/automatically move files

Posted on 2013-01-04
2
575 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 39

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

Suggested Solutions

Title # Comments Views Activity
Remote Desktop Certificates 6 44
How to do advance search in Windows 2008? 11 37
romain user profiles for windows users 22 59
Windows 7 won't join domain 4 42
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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 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…

911 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

18 Experts available now in Live!

Get 1:1 Help Now