I'd like to share another inconsistency between FreeDOS and MS-DOS version of XCOPY.
originally reported in joncampbell123/dosbox-x#6160.
Describe the bug
XCOPY with no space between the destination and /S/E is treated as a command to copy to directory /S/E, not a command to copy subdirectories and empty directories.
Steps to reproduce the behaviour
Find a copy of High Seas Trader. Run the install process.
The install process will run XCOPY to install the files. For example:
XCOPY \HD\*.* C:\HIGHSEAS/S/E
Due to this bug, it will actually copy the files into C:\HIGHSEAS\S\E.
Expected behavior
/S/E are switches that instruct XCOPY to copy subdirectories, and include empty directories.
A fix is proposed in joncampbell123/dosbox-x#6161