Thursday, March 11, 2010

Robocopy Bat File Loops

If your robocopy bat file loops its because you called it robocopy.bat. Try calling the bat file anything else other then robocopy. This is because it will continuously launch itself.

16 comments:

  1. Thank you, Useful. I've not thinked about it

    ReplyDelete
  2. I just had this issue with robocopy.bat
    Thanks for your post. Simple but efficient.

    ReplyDelete
  3. I never thought about that! Does the same thing if you create an IPCONFIG.BAT file for a user to have....cheers!

    ReplyDelete
  4. Thank you!!! I was extremely frustrated by this exact issue.

    ReplyDelete
  5. I can't believe I hadn't thought of this before! thanks!

    ReplyDelete
  6. Duh! Thanks! Didn't work at first, but realized I had another file in the same directory called robocopy. Renamed that, Voila!

    ReplyDelete
  7. ou... I allways use names like abc.bat aa1.bat.... but first time I used "real name" and CMD loops ..
    Thank you from Slovakia :)

    ReplyDelete
  8. duh
    it should have been obvious
    do you know how long I wasted before I found this blog

    thanks

    ReplyDelete
  9. Me too, can't believe what a dork i've been :-(

    Thanks goodness for this blog

    ReplyDelete
  10. BIG Help!!!

    Thank you for save me! XD

    ReplyDelete
  11. Big big thanks!

    ReplyDelete
  12. GSCopy Pro v6.0 (RoboCopy Alternative) with Open File Agent
    GSCopyPro is a single command-line tool (CLI) that can copy, replicate and move files from one folder to another. This folder can be on the same machine/ server or another server elsewhere. What makes GSCopyPro stand out from other competitors is the fact it works on 32-bit as well as 64-bit systems and has no restrictions. It can easily be scheduled to run as a scheduled task and fully automated. GSCopyPro also comes with an open file agent which can copy files that are locked/ opened by other processes. This feature is supported in all windows versions from widows XP/ 2003 and later.
    Go To:>> http://www.gurusquad.com/GSCOPYPRO

    ReplyDelete
  13. Great! 2 hrs of confusion was solved! Thanks!!

    ReplyDelete
  14. Thanks! It seems so obvious (now).

    ReplyDelete