In our unit, there are some old employees who are not very good at using computers. They often put important files on the desktop, and plus the computer often has problems, all important data are completely lost~ Although we have reminded them many times not to put them on the desktop, they just don't pay attention, which is very headache~
So I wrote a batch file and put it in the startup item, so that the desktop files are automatically backed up every time the computer starts
xcopy "E:\Documents and Settings\wind" /e d:\backup
After execution, there will be an option <yes/no/all?> asking whether to rewrite (overwrite) the previous data. It was originally a matter of just pressing "a", but those old-fashioned people even said it was troublesome and didn't know how~
The problem I need to solve is how to not display <yes/no/all?> and directly execute it~
I am a novice, just started to contact DOS, please give me some advice, great gods~
So I wrote a batch file and put it in the startup item, so that the desktop files are automatically backed up every time the computer starts
xcopy "E:\Documents and Settings\wind" /e d:\backup
After execution, there will be an option <yes/no/all?> asking whether to rewrite (overwrite) the previous data. It was originally a matter of just pressing "a", but those old-fashioned people even said it was troublesome and didn't know how~
The problem I need to solve is how to not display <yes/no/all?> and directly execute it~
I am a novice, just started to contact DOS, please give me some advice, great gods~
