views:

45

answers:

2

I have recently begun a new project which runs on remote computer. I usually remote debug the application. I have setup microsoft sync toy to "echo" the built exe,dll,pdb and configs to the remote computer.

However, i cant add synctoy to my visual studio build events because it might disturb some of the other programmers in my team. I was wondering, which (free) tool would you guys use to watch a folder of files and kick off synctoy when a change is detected.

I can write a simple file watcher, but rather than reinvent the wheel, i would rather just use an existing tool. Searching on google yields so many tools, i wouldn't want to try them out just to find a good one.

A: 

What about using Robocopy with the /MON or /MOT options? See http://ss64.com/nt/robocopy.html for more details.

Paul Leclerc
+1  A: 

It may fall under the banner of reinventing the wheel, but if you are using .NET, the FileSystemWatcher class, albeit without a UI, is pretty much as comprehensive as you can get, out of the box.

I'm sure you could knock something up with it in a very short time.

johnc
after a while of looking around, i just wrote my own watcher because its just simpler to write my own tool.
Andrew Keith