Skip to content

Inconsistency with original XCOPY of parsing switches appended to paths #13

@maron2000

Description

@maron2000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions