batch file to copy files to another location? -


Do I log in to backup files from one folder to another, or when the folder is updated is done?

It can be written in VB or Java shell if there is no easy solution.

Any thoughts? Thanks

Two approaches:

  • When you login You are: You can access your All Programs & gt; You can create a copy_my_files.bat file in. Startup folder with this content (a plain text document):

    • xcopy c: \ folder \ *. D: \ another_folder \.

    Use xcopy c: \ folder \ *. * D: \ another_folder \. / Y>

  • Each folder changes: If you can use C #, you can do this by using to create a program . FileSystemWatcher


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -