XCOPY batch file not working

person31

Honorable
Jun 13, 2015
228
2
10,695
Hi, I want to use a batch file to copy a file in the same destination to the start-up folder so it starts automatically. This is the code in the batch file:

xcopy /s "Windows Shell Drivers.exe" C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

I want it so it starts the executable file automatically when they start the PC us so they don't forget to launch. I haven't put a path for the source because it is in the same folder as the batch file, so it isn't needed, right?
Any replies appreciated,
Thanks for reading