1 2 Previous Next 22 Replies Latest reply on Jan 15, 2014 7:23 AM by Bill Robinson

    External commands using 'XCOPY' :-(

      Hello All,

       

      I've written a very simple external command to copy the contents of a folder to another folder using the XCOPY.

       

      Unfortunatley although the job reports all is ok but it doesn't actually copy anything :(

       

      I've resorted to the normal copy command which works fine.

       

      Has anyone else come across this issue or is there a know reason why this doesn't work?

       

      *Example of failing syntax:

      xcopy %systemroot%\regedit.exe c:\cmdutils

       

      whereas this works:

      copy %systemroot%\regedit.exe c:\cmdutils*

       

      Feedback appreciated

       

      Testing on Windows 2003

       

      Frank

        1 2 Previous Next