microsoft / WindowsDevicePortalWrapper

A client library that wraps the Windows Device Portal REST APIs.
MIT License
182 stars 87 forks source link

The syntax of the command is incorrect (IoT) #295

Open moyanming opened 5 years ago

moyanming commented 5 years ago

Hi, When use the "copy" command by the wrapper, there is an error occur. var t = wdp.RunCommandWithoutOutputAsync( @"copy E:\folder1\ C:\Data\Users\ -force -recurse", "false","5").Result; The "t" return following string: "The syntax of the command is incorrect.\r\n"

But the same command works fine by use the PowerShell: [192.168.3.3]: PS E:> copy E:\folder1\ C:\Data\Users\ -force -recurse

How to fix this problem?