Make sure to open the command prompt with "Run as Administrator"
C:\Windows\system32>sc create SERVICE_NAME binpath= D:\FOLDER_NAME\EXE_NAME.exe
Note: There is a space after binpath=
C:\Windows\system32>sc create SERVICE_NAME binpath= D:\FOLDER_NAME\EXE_NAME.exe
Note: There is a space after binpath=
No comments:
Post a Comment