1.

Solve : XCOPY - Script runs first line repeatedly, does not copy and does not end.?

Answer»

XCOPY - Script runs first line repeatedly, does not copy and does not end.

Here is the script
XCOPY C:\Test C:\Test2 /e /d /f /y
@ECHO Transfer COMPLETE
@PAUSE

This is the output
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y
C:\>XCOPY C:\Test C:\Test2 /e /d /f /y

This goes on until I terminate the script.

Thank you for your input! This is Windows XP Home 2002 SP2 Just a thought, but is the name of your script XCOPY? Duplicating NT COMMAND names LEADS to PROBLEMS. Try renaming your script.

Wow! That was it. Thank you Sidewinder!



Discussion

No Comment Found