Starting robocopy as a service

2.4k Views Asked by At

I cant figure out what I'm doing wrong because the command runs perfect in the command line but not the file. I also tried doing multiple sources and destinations so I thought that was the problem, but i guess now it's not. Can anybody help me ? I'm lost.

::
:: Robocopy Job C:\Users\sean\Documents\startup.rcj
::
:: Created by sean on Thursday, May 25, 2017 at 7:56:19 AM
::

::
:: Source Directory :
::
    /SD:F:\samplesh :: Source Directory.

::
:: Destination Directory :
::
    /DD:D:\samplesh :: Destination Directory.


::
:: Include These Files :
::
    /IF     :: Include Files matching these names
::      *.* :: Include all names (currently - Command Line may override)

::
:: Exclude These Directories :
::
    /XD     :: eXclude Directories matching these names
::          :: eXclude no names (currently - Command Line may override)

::
:: Exclude These Files :
::
    /XF     :: eXclude Files matching these names
::          :: eXclude no names (currently - Command Line may override)
::
:: Copy options :
::
    /DCOPY:D    :: what to COPY for directories (default is /DCOPY:DA).
    /COPY:DT    :: what to COPY for files (default is /COPY:DAT).
::
:: Retry Options :
::
    /R:10   :: number of Retries on failed copies: default 1 million.
    /W:5        :: Wait time between retries: default is 30 seconds.
::
:: Logging Options :
::

is the code...ther service adds just fine but when i try and start it i get an error 1053?

0

There are 0 best solutions below