...
Why ?
Richard S.Martin wrote:
why on earth do you want to use a batch file to do this? Why constrain yourself to the limited functionality of a flaky OS? Why not do this from Java and then you can build whatever logic you like into it.On Monday 27 May 2002 09:02 am, Kesav, Ramesh wrote:Hi all, pardon me if it is out of topic. But i need this urgently. I have 2 folders say A and B. i need to copy the contents of A and its subdirectories into B. The copying should take care of the following things. 1) if the copied contents is the same as that of the already existing one then the file in B should not get overwriten. for this i need to capture the date and time of the file in A. 2) also the folder A can reside in any of the geographical locations say for ex in USA. i need to track the modified date and time of the file in A and compare with that of the file in B. if it has changed then i should overwrite it else i should not. i need to create this as a batch file and then run it thru java program as a scheduled task. i tried to use XCOPY but in vain. any open source for this will be highly helpful to me. Regards Ramesh Kesavanarayanan [EMAIL PROTECTED] =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".============================================================================== This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. All information is the view of the individual and not necessarily the company. If you are not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication and its attachments is strictly prohibited. If you have received this email in error please notify: [EMAIL PROTECTED] ============================================================================== =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
