Skip to content

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

@moyanming

Description

@moyanming

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions