I have this task that creates a service:
Target Name="InstallService" DependsOnTargets="CopyFiles"
Exec Command="sc \\ \\remotecomputer create "ServiceHost" binPath= "E:\\ServiceHost.exe" DisplayName= "ServiceHost"" WorkingDirectory="c:\\" ContinueOnError="false" /Target
The problem is that when I run this script it doesn't know the \\ \\remotecomputer.
我想通了:您必须像这样使用它:“”“ \\ \\ remotecomputer”“”
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.