Question

  • Creator
    Topic
  • #2209176

    Making an Auto-backup system?

    Locked

    by spannerz ·

    Hi guys, I’m working on an application made in Visual Studio that will allow students (Primarily university) to automatically back up their work automatically and basing the whole system on a small USB that they can plug in and forget about.

    EDIT: Developed a workaround for the original problem. But another one has arisen so I guess I’ll post it here rather than making a whole new thread.

    I’m looking to have a .bat file run every 10 minutes (Xcopy for backups), with the possibility of having a checkbox that can disable it from running (so the user manually clicks the Sync button to run a backup). This .bat file, as stated, is run by clicking a sync button, and this is the button’s code:

    Private Sub Button1_Click_2(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Dim p As New System.Diagnostics.Process()
    p.StartInfo.FileName = “S:\Administration\SCRIPTS SYSTEM.cmd”
    p.StartInfo.CreateNoWindow = True
    p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
    p.Start()
    End Sub

    How do I add and configure a timer command to run (or even push/fire the button) the .bat every 10 minutes?

    Thanks 🙂
    ~Julian

All Answers

Viewing 1 reply thread