Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6475241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:40:52+00:00 2026-05-25T06:40:52+00:00

I’m trying to configure a system where my Dropbox folder is constantly monitored and

  • 0

I’m trying to configure a system where my Dropbox folder is constantly monitored and backed up incrementally by Windows backup whenever a change is made to any of the files in the folder (as a more reliable and free alternative to Dropbox’s “packrat” addon). Ideally this can be done if I can invoke the incremental backup to be made whenever there’s a file change event. Looks like Windows doesn’t have an event trigger like that by default (at least from my googling around) and the only solution posted was to write a wrapper class around the FileSystemWatcher.Changed Event in .NET. Some programs do this but they’re really expensive for such a simple function. I was wondering what they mean when they say “write a wrapper around this event”; I know basic programming in C and VB but its fairly rudimentary knowledge. Though I feel I can do it myself if I prod around long enough, pointers on how the process would go about would be very helpful.

What I’m exactly looking for is a program/service which will constantly keep monitoring a folder and whenever any file within that directory is changed or modified, calls an exe or bat file which we can program into whatever we want..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:40:53+00:00Added an answer on May 25, 2026 at 6:40 am
     static void Main(string[] args)
     {
                FileSystemWatcher fsw = new FileSystemWatcher(@"C:\foo");
                fsw.Created += new FileSystemEventHandler(fsw_Created);
                fsw.Changed += new FileSystemEventHandler(fsw_Changed);
                fsw.EnableRaisingEvents = true;
                Thread.Sleep(System.Threading.Timeout.Infinite);
     }
    
     static void fsw_Changed(object sender, FileSystemEventArgs e)
     {
          //Existing file has been modified
          Console.WriteLine(e.Name + " has been modified.");
     }
    
     static void fsw_Created(object sender, FileSystemEventArgs e)
     {
         //A new file has been created
         // put your code here to trigger the othe process
         System.Console.WriteLine(e.Name + " has been created.");
      }
    

    But I must warn you: When the OnCreated event fires, it also fires the OnChangedEvent immediately and you may end up triggering your process more times than it needs to. You need to put some logic to prevent that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to render a haml file in a javascript response like so:
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post
I am trying to loop through a bunch of documents I have to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.