# Automatically upload binary file to nucleo after compiling in Keil

I bought Nucleo F411RE and I'm using Keil uVision 5 as IDE for programming it. To download program to Nucleo, you simply copy it in the virtual nucleo drive:

Of course, I'd like to have this task automated. To do so, I tried to use the Keil project configuration:

But that doesn't work:

*** Error: CreateProcess failed, Command: 'copy build\Nucleo_blink_led_NUCLEO_F411RE.bin H:\'


So what should I do? Keil is recommended by Nucleo manufacturer, yet this simple issue seems to have no solution on the internet...

I don't know why this didn't work, but xcopy command works well: