Two new macros have been added to the TAB(-10,23) command (which executes a Windows command line):
TAB(-10,23);"$COPY ";src$;" ";dst$;"~";flags;chr(127);
TAB(-10,23);"$MOVE ";src$;" ";dst$;"~";flags;chr(127);
Although it is possible to execute a Windows file copy using the XCOPY command, these new macro commands are much cleaner in the sense that they don't cause a Command Prompt window to appear, won't prompt you for anything, and don't have such complicated switches. The macro implementation is essentially the same function as MIAMEX,MX_COPYFILE and they share the same flags. ($MOVE is equivalent to $COPY with the +1 flag; +2 can be added in either case to allow an existing destination to be overwritten.) If ~flags is omitted, the default is 0 (don't overwrite an existing destination).