Jul 13, 2004 #1 damzi Programmer May 3, 2004 66 US I am using the following cmd in a batch file to automate copying files onto another folder xcopy D:\FTP_Staging\CISC\Log\*.txt D:\FTP_Staging\CISC\IDX\Archive\/s How can I overwrite the files without having to be prompted in cmd and add that to my script ?
I am using the following cmd in a batch file to automate copying files onto another folder xcopy D:\FTP_Staging\CISC\Log\*.txt D:\FTP_Staging\CISC\IDX\Archive\/s How can I overwrite the files without having to be prompted in cmd and add that to my script ?
Jul 13, 2004 1 #2 DoubleD Technical User Apr 2, 2001 766 US Add a /Y at the end. xcopy D:\FTP_Staging\CISC\Log\*.txt D:\FTP_Staging\CISC\IDX\Archive\ /s /Y Pain is stress leaving the body. DoubleD Upvote 0 Downvote
Add a /Y at the end. xcopy D:\FTP_Staging\CISC\Log\*.txt D:\FTP_Staging\CISC\IDX\Archive\ /s /Y Pain is stress leaving the body. DoubleD
Jul 13, 2004 Thread starter #3 damzi Programmer May 3, 2004 66 US DoubleD - Thanks so much for the fast and correct response. Upvote 0 Downvote