Welcome to WebmasterWorld Guest from 54.242.53.253

Forum Moderators: bill

Message Too Old, No Replies

ROBOCOPY Problem

     
11:52 pm on Mar 25, 2009 (gmt 0)

Full Member

5+ Year Member

joined:Mar 22, 2008
posts: 317
votes: 0


Hi everyone,

Using the Robocopy feature of batch/command prompt, I have run into a probelm. I'm trying to copying a folder from one location on my computer to a network drive routinely. But it always gets hung up on one certain file. How do I tell it to keep going and skip over the bad file?

2:23 am on Mar 27, 2009 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts:14851
votes: 101


It might depend on the reason the file was hanging the process. Without knowing what that is I suggest you look at some switches that allow for an IF ¦ THEN condition to work around the problem file.
2:19 am on Mar 29, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 7, 2007
posts:130
votes: 0


/R:1

add that switch, it will retry once and move on to the next file