Skip to content

XCOPY v1.8b reports "Source path not found - C:\" when source is root of DOSBox-mounted FAT drive #14

Description

@jewettg

FreeDOS 1.4 installed using the DOSBox Hybrid profile.

XCOPY version:

XCOPY v1.8b - Copyright 2001-2003 by Rene Ableidinger
patches 2005: Eric Auer

Environment:

  • DOSBox 0.74-3 on macOS
  • C: mounted with DOSBox imgmount:
    imgmount c ~/DOSBox/DOSLab/disks/freedos-hdd.img -t hdd -fs fat -size 512,63,16,520
  • Q: and T: mounted as host folders:
    mount q ~/DOSBox/DOSLab/q_drive
    mount t ~/DOSBox/DOSLab/t_drive

C: exists and is readable:

C:>dir C:

But these fail:

C:>xcopy C: Q:\ /E /H /I /Y
Source path not found - C:\

C:>xcopy . Q:\ /E /H /I /Y
Source path not found - C:\

C:>xcopy .*.* Q:\ /E /H /I /Y
Source path not found - C:\

This works:

C:>copy . Q:
C:>xcopy FREEDOS Q:\FREEDOS /E /H /I /Y
C:>xcopy TEMP Q:\TEMP /E /H /I /Y

Expected:
XCOPY should accept the current/root directory as the source and recursively copy it.

Actual:
XCOPY canonicalizes the source to C:\ and reports Source path not found, even though DIR C: works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions