﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17	Wildcard XCOPY operations interrupted when quotes are present in filenames	Lewis Rosenthal	Steven Levine	"Command line under 4OS2 3.08 & result:

{{{
[j:\images] xcopy g:\temp\*.pdf .

Source files are being read...

SYS1186: XCOPY cannot access the source file.
Source files are being read...

SYS1186: XCOPY cannot access the source file.
Source files are being read...

SYS1186: XCOPY cannot access the source file.
Source files are being read...

G:\temp\Federal 941 3Q 2012 Employer's Quarterly Federal Tax Return.pdf

1 file(s) copied.
}}}

Run under CMD:

{{{
[J:\images]xcopy g:\temp\*.pdf .

Source files are being read...

G:\temp\Federal 941 3Q 2012 Employer's Quarterly Federal Tax Return.pdf
G:\temp\Virginia VA-5 2012-09 Employer's Return of Income Tax Withheld.pdf
G:\temp\Virginia VEC-FC-20 3Q 2012 Employer's Quarterly Tax Report.pdf
G:\temp\Virginia VEC-FC-21 3Q 2012 Employer's Quarterly Payroll Report.pdf

4 file(s) copied.
}}}

Command line under 4OS2 2.08 (again), with quotes around the wildcard spec:

{{{
[j:\images] xcopy ""g:\temp\*.pdf"" .

Source files are being read...

G:\temp\Federal 941 3Q 2012 Employer's Quarterly Federal Tax Return.pdf
G:\temp\Virginia VA-5 2012-09 Employer's Return of Income Tax Withheld.pdf
G:\temp\Virginia VEC-FC-20 3Q 2012 Employer's Quarterly Tax Report.pdf
G:\temp\Virginia VEC-FC-21 3Q 2012 Employer's Quarterly Payroll Report.pdf

4 file(s) copied.
}}}

(COPY works as expected with the wildcard and no quotes, successfully transferring each file.)

Unfortunately, it's not always possible to know when one may encounter stray quotes in filenames, particularly when files have been created on other platforms or by people who are not aware of the implications of such things on the command line. This means that until/unless this issue is addressed, it is always necessary to surround wildcard paths in quotations or use COPY instead of XCOPY (not sure offhand what other commands might be impacted by this).
"	defect	closed	minor	Version-3.09	Base	3.08	invalid		steve53@… lgrosenthal@…
