Hi,

You have to escape the backslashes with another backslash in the paths if
you haven't already, so something like

shell:exec copy C:\\path\\to\\file.bar foo.bar

Should do the trick. If not absolute, the paths will be relative to your
Karaf installation directory.

cheers,

John.

On Wed, Nov 2, 2016 at 10:22 PM, Leschke, Scott <[email protected]>
wrote:

> What’s the trick to getting this to work?  I just want to copy a file from
> one place to another on windows and no matter what I try, I get
>
> “System Error 2: The system cannot find the file specified (or something
> to that effect)” even though the paths are absolute.
>
>
>
> Anybody have an example of usage?
>

Reply via email to