batch file to copy files to another location?
@echo off
copy con d:\*.*
xcopy d:\*.* e:\*.*
pause
Two approaches:
When you login: you can to create a
copy_my_files.bat
file into yourAll Programs > Startup
folder with this content (its a plain text document):xcopy c:\folder\*.* d:\another_folder\.
Use
xcopy c:\folder\*.* d:\another_folder\. /Y
to overwrite the file without any prompt.Everytime a folder changes: if you can to use C#, you can to create a program using
FileSystemWatcher