Skip to content

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

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions