Nirmal Sharma
asked on
Need a batch file quikly please
From Source to destination:
Source : L: Drive
Destination K: Drive
Logic:
1. Create a new directory on destination drive (K:)
2. Write files from L: to K: Drive
3. If file does not exist on K Drive copy it.
4. If file exists on K: Drive only copy file if Date is < than 18 Oct
5. If file exists on K: Drive do no write if Date = 18 Oct
6. If the date of file on K: Drive is the same Do not copy the file.
Thanks!
Source : L: Drive
Destination K: Drive
Logic:
1. Create a new directory on destination drive (K:)
2. Write files from L: to K: Drive
3. If file does not exist on K Drive copy it.
4. If file exists on K: Drive only copy file if Date is < than 18 Oct
5. If file exists on K: Drive do no write if Date = 18 Oct
6. If the date of file on K: Drive is the same Do not copy the file.
Thanks!
Some clarification is needed.
Do you want to copy files from L:\ to K:\NewFolder based on which files already exist in K:\?
Do you want to copy files from L:\ to K:\NewFolder based on which files already exist in K:\?
ASKER
Shift-3,
yes please.
yes please.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
part of the 2003 Res Kit
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en