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.
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:
imgmount c ~/DOSBox/DOSLab/disks/freedos-hdd.img -t hdd -fs fat -size 512,63,16,520
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.