[Bug 46504] New: cmd.exe: xcopy.exe with renaming
https://bugs.winehq.org/show_bug.cgi?id=46504 Bug ID: 46504 Summary: cmd.exe: xcopy.exe with renaming Product: Wine Version: 4.0-rc6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: jonathanbelsewir(a)yahoo.de Distribution: --- The following command does not work right: xcopy /q /y *.i root\*.htm Workaround: for %%f in (*.i) do ( copy %%f root\%%~nf.htm ) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=46504 --- Comment #1 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 77804 --> https://bugs.winehq.org/attachment.cgi?id=77804 xcopy test log Still issue with wine 9.0 xcopy asks is destination a directory or a file. Operation fails in both cases. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=46504 Lokesh Poovaragan <lokesh.poovaragan@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lokesh.poovaragan@gmail.com --- Comment #2 from Lokesh Poovaragan <lokesh.poovaragan@gmail.com> --- Windows xcopy does not support wildcard renaming in the destination. The command `xcopy *.i root\*.htm` fails on Windows with the same r/c 123 (ERROR_INVALID_NAME). Microsoft's xcopy documentation doesn't mention of destination wildcard expansion or rename semantics. The standard Windows workaround is: for %f in (*.i) do (copy %f root\%~nf.htm) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=46504 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Ken Sharp <imwellcushtymelike@gmail.com> --- xcopy has never done this. https://learn.microsoft.com/en-us/windows-server/administration/windows-comm... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (3)
-
wine-bugs@winehq.org -
WineHQ Bugzilla -
WineHQ Bugzilla