ajetrumpet
Banned
- Local time
- Today, 07:29
- Joined
- Jun 22, 2007
- Messages
- 5,638
I need some experienced MS DOS help here please:
I am not proficient with writing batch files, and I need to get one put together. Here is what I currently do every week to copy my parent directory to a USB from my hard disk:
Before this though, I have to delete everything off of my USB because the copied files need to overwrite everything already on the USB, and I don't want to be bothered by a million "overwrite" confirmations. This process takes about 15 minutes in DOS, and that is fine with me, but I'm hoping to automate it somewhat.
I'm not the best at DOS, so if I could get some guidance with the following batch file proposal, I'd appreciate it:
1) Schedule a task every week at a certain time
2) Prompt for insertion of the F: drive device (with an optional to cancel the operation)
3) Run a batch file that performs what I already do, but overwrites the old files wo/any prompts
I can only do #1 (obviously). Thank you for any assistance...
I am not proficient with writing batch files, and I need to get one put together. Here is what I currently do every week to copy my parent directory to a USB from my hard disk:
Code:
xcopy c:\users\adam/s f:\adam
I'm not the best at DOS, so if I could get some guidance with the following batch file proposal, I'd appreciate it:
1) Schedule a task every week at a certain time
2) Prompt for insertion of the F: drive device (with an optional to cancel the operation)
3) Run a batch file that performs what I already do, but overwrites the old files wo/any prompts
I can only do #1 (obviously). Thank you for any assistance...