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