Quantcast
Viewing all articles
Browse latest Browse all 4762

Configuration Manager Software Distribution command line for Batch/CMD files

I am trying to use a CMD/Batch file with Configuration Manager 12 Software Updates to copy two files to a specific application folder on client machines.  I have
been unable to get the script to work with Software Distribution.  When I run the files manually they work. 

I am using the command line:  CMD /c file.cmd.  I have tried various changes within the file as well.  One being COPY /Y "%~dps0*.*"
"C:\Program Files\Application"  and xcopy /RY "\\server\software\application\*.ocx" "C:\Program Files\application". 

The source file location is on our software deployment share for the site server so there is no rights issue for where the files reside.  I tried running software distribution with a drive letter thinking that the unc path is an issue.  I am running always with administrative rights.  I have used vb script in the past, but would like to know the proper command lines to send out Batch and cmd files in Software Distribution.

Thanks,

Brit



Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>