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 8505953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:27:45+00:00 2026-06-11T02:27:45+00:00

First I understand I should probably be using GitHub or some other online repository,

  • 0

First I understand I should probably be using GitHub or some other online repository, but I would like to explore some of the concepts necessary for my method to work.

I would like to run a batch script/program every time I close Visual Studio, Eclipse, Notepad. Specifically, I would like to run a copy program to copy all of my source code that I generated with that program to a folder inside a Google Drive/Dropbox folder. That way I know it is saved to the cloud. this way I do not have to set up a special backup extension inside each Development enviornment.

Firstly is there a built in simple solution for doing the above? or Do I need to write a custom service that checks to see when those programs are closed? and if that is the way to go where should I look for an example of how to get started?

Thanks.

  • 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-06-11T02:27:46+00:00Added an answer on June 11, 2026 at 2:27 am

    No, there is no simple built-in method that will backup the files that you want when you want it.

    Instead you could simply point your work directories to your Gdrive or DropBox folders, and create a folder inside them for each.

    Or you could create a task that copies the files every 10 minutes or however long.


    But if you want it to run only when you exit the programs you specify: Yeah, you’ll pretty much need to write a batch file for each of the programs you want to back up. Then call the batch file instead of the program.

    startVS.bat

    set DropBox=C:\Wherever\
    start /wait "" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"
    xcopy /s /e /d /y "%userprofile%\Documents\Visual Studio 2008\Projects\*.*" "%DropBox%"
    

    If you want to have the same icon, and for the batch file run minimized:

    1) Open Windows Explorer, navigate to startVS.bat, right-click on it, and click Create Shortcut.
    2) Right-click on startVS - ShortCut -> Click Rename and rename it Visual Studios, then press [ENTER].
    3) Right-Click on the new Visual Studios -> Properties -> Change Icon -> Browse
    4) Paste %ProgramFiles% (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe into the File Name box.
    5) Click Open -> OK
    6) Click Normal Window -> Minimized -> OK
    7) Put a copy of Visual Studios (really named Visual Studios.lnk) where ever you want it, like in the Start menu.

    If you are not running a 64 bit system, at step 4 paste %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe into the File Name box.

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

Sidebar

Related Questions

I don't understand what lifting is. Should I first understand monads before understanding what
I am trying to understand the specs , but fail to understand the first
I don't understand why the first program in JSP is working, but the second
First, of all, I already search about this but i still can't I understand
All - I'm trying to understand the first section of the Map file produced
I understand that the first bit is the sign and that the next 8
First of all: I understand, why this warning is existing, I just can't explain
first of all I apologize if my question is difficult to understand. I'm having
First of all, I do understand, that MVC 3 default template's Content folder is
First of all, I hope you understand my English, because I'am not a native

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.