Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of copying attributes is not compatible with genuine MS(PC)-DOS #9

Open
maron2000 opened this issue Jan 21, 2024 · 0 comments

Comments

@maron2000
Copy link

maron2000 commented Jan 21, 2024

MS-DOS & PC-DOS XCOPY unset read-only, system, and hidden attributes, however, XCOPY 1.4 and the latest commit here doesn't.
I propose to make the default behavior to be compatible with genuine DOSs.

The following link is a proposed fix that includes:

  • Unset attributes of the destination file except Archive attribute as default, following the genuine DOS behavior.
  • Added /K option to copy all attributes, which is the current FreeDOS behavior.

https://github.com/joncampbell123/dosbox-x/tree/master/src/builtin/xcopy

Edit: fixed broken link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants