> the $(shell) to the output of 'copy' command ), which is something like: > > 1 file(s) copied. > > Assigning the output of the 'shell' command to the temporary variable fixes > the error.
Nice. The internet suggests redirecting to > nul, which might be prepended: i.e. COPY := >nul copy or something
