Re: Copying files to another drive
- From: Dan Seur <click@xxxxxxxxx>
- Date: Sat, 19 Nov 2005 16:10:54 -0500
To add a trivial note to what Pegasus said:
A batch file is a plain text file; you can create it with notepad or any text editor.
It may include any of the W2k commands; see Help/ Contents/ Reference/ MSDOS Commands. All syntax rules seen there apply to a BAT file.
Its filename always ends with ".bat".
When executed its behavior is exactly as you would see had you entered those commands in that order in a command window.
Charles L. Phillips wrote:
Hello, "Thank You"... Can you recommend a good book on writing batch files???
Thank you, -- Charles L. Phillips
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message news:uZZcION7FHA.2628@xxxxxxxxxxxxxxxxxxxxxxx
"Charles L. Phillips" <tptbusines_2205@xxxxxxxxxxx> wrote in message news:uEM5ZiM7FHA.2676@xxxxxxxxxxxxxxxxxxxxxxx
Hello, I have a folder containing several files. I have 3 drives, C:\, D:\ &
G:\
(Zip). The Zip drive copies the folder at a certain of the day. I want to do an XCOPY /V of the same folder, from the C:\ drive to the
D:\
drive. I want the process to take place everyday during the week (no weekends) at a specific time of the day. Then I want a message to
"flash",
"XCOPY Of "filename" Completed at "time"... Can/will someone direct me to a tutorial of this nature???
Thank you, -- Charles L. Phillips
Create a scheduled task (Control Panel / Task Scheduler) and make sure to run the task under the same account as your foreground account.
Place your xcopy command inside a batch file like so:
@echo off xcopy . . . . echo. echo %date% %time:~0,5%: XCopy completed. echo. pause
.
- References:
- Copying files to another drive
- From: Charles L. Phillips
- Re: Copying files to another drive
- From: Pegasus \(MVP\)
- Re: Copying files to another drive
- From: Charles L. Phillips
- Copying files to another drive
- Prev by Date: Re: Question about the Emergency Repair Disk - Windows 2000
- Next by Date: Re: QUICKEST RECOVERY NEEDED
- Previous by thread: Re: Copying files to another drive
- Next by thread: Re: Local Admin password
- Index(es):
Relevant Pages
|