Keep Copying if Access Denied?

Discussion in 'Software' started by i_wanna_corndog, Jul 11, 2006.

  1. i_wanna_corndog

    i_wanna_corndog Specialist

    Windows by default halts a copy if access is denied to a file. Is there any way to bypass this and just keep copying, but skipping files that access is denied to?

    Thanks!
     
  2. matt.chugg

    matt.chugg MajorGeek

    use xcopy from the command line

    for example xcopy c:/dirone/*.* c:/dirtwo/ /S /C


    This 'should' copy all the files from directory one (including subfolder except empty ones (thats the /S)) to directory two.
    The /C specifies to continue if theres an error

    Matt
     
  3. i_wanna_corndog

    i_wanna_corndog Specialist

    Only one thing, it took me a second to figure out, but it should be c:\ instead of c:/.

    But that worked, thanks!
     
  4. matt.chugg

    matt.chugg MajorGeek

    Yeah definatly make sure you use the right slashes, I got mine backwards (was coding asp.net all day not that thats any excuse lol)

    Matt
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds