locked
Trying SCCM 2012 to copy files from DP to client C:\ failed RRS feed

  • Question

  • Hi Folks

    I was trying the Script from http://blog.configmgrftw.com/copying-files-to-clients-using-configmgr/ to copy multiple jpg files to desktop C: drive .but its not working for me dont Know what exactly wrong i am doing.

    I sucessfully achieved the task with copy /y "\\wdta-sc2\sccm\folder1\folder2\pic.jpeg" "C:\"

    but unable to perform with the following script

    if not exist "%1" md "%1"

    copy /y "%~dp0Files2Copy*.*""%1"

    even files are copying to CCMcache but when i check execmgr it shows code 1 failed

    look like at time of execution its failed dont know what wrong i am doing i tried every thing as per the blog.

    Friday, May 22, 2015 11:43 AM

All replies

  • Are you asking here because you have MDT integrated with SCCM?

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Friday, May 22, 2015 6:35 PM