Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Invalid Executable File Copy

$
0
0

Im trying to create a very simple program to copy a shortcut to the Windows 7 Startup Folder.  I created a batch file, that works, and works through SCCM however it is being reported in SCCM as a failure. So now I am trying to just enter a command in the Command Line field in SCCM and it is failing with Invalid Executable File Copy.  

Here is what I tried:

copy "\\Server\sources\DesktopInfo\DesktopInfo.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /y

Copy DesktopInfo.lnk "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /y

Copy "DesktopInfo.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /y

I guess I do not understand exactly how this command line field works.  


TM


Viewing all articles
Browse latest Browse all 629

Trending Articles