Is it running the same dos command environment - prompt settings, etc. as your live dos session?
________________________________ From: Brian Desmond <br...@briandesmond.com> To: NT System Admin Issues <ntsysadmin@lyris.sunbelt-software.com> Sent: Wednesday, June 24, 2009 11:25:22 AM Subject: RE: Scheduled task Windows 2003 R2 I assume if one of the files exists on the remote end it’s prompting for auth to overwrite. I think you can tag a /y or a /q on to the copy command to bypass that. Thanks, Brian Desmond br...@briandesmond.com c - 312.731.3132 Active Directory, 4th Ed- http://www.briandesmond.com/ad4/ Microsoft MVP - https://mvp.support.microsoft.com/profile/Brian From:Scott Schneider [mailto:sschnei...@inscapesolutions.com] Sent: Wednesday, June 24, 2009 11:02 AM To: NT System Admin Issues Subject: Scheduled task Windows 2003 R2 I have some nightly scripts (5 in total) which copy files from a server out to shopfloor PC.'s 2 out of 5 scripts finish in an extended period of time. The other 3 run for hours and hours and never finish before 24 hours is over. If I manually run the .bat files from a command prompt at the server, they finish in about 20 minutes. I assume if they run fine at a command prompt that it is not a networking issue. I have even tried manually running from the scheduled tasks and get the same slow result. I kill the task, and run it from a command prompt all is fine. Any ideas? Thanks The server is 2003 R2 and the shop floor PCs XP with SP2 This is an example of the one line of the copy command from the .bat file. It repeats anywhere from a few hundred times to a around a 1000 times IF EXIST d:\ptc\vaults\INS_V02\195418.anc copy d:\ptc\vaults\INS_V02\195418.anc \\fab-1140\c$\ncload\26402-58-r.anc Scott Schneider Senior Network Admin P Please consider the environment before printing this e-mail ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~