Is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?
It could be written in VB or Java as well if not an easy solution.
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Two approaches:
When you login: you can to create a
copy_my_files.batfile into yourAll Programs > Startupfolder with this content (its a plain text document):xcopy c:\folder\*.* d:\another_folder\.Use
xcopy c:\folder\*.* d:\another_folder\. /Yto overwrite the file without any prompt.Everytime a folder changes: if you can to use C#, you can to create a program using
FileSystemWatcher