[Bug 16214] New: Copy command does not work as expected
http://bugs.winehq.org/show_bug.cgi?id=16214 Summary: Copy command does not work as expected Product: Wine Version: 1.0.1 Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: dos AssignedTo: wine-bugs(a)winehq.org ReportedBy: scott(a)open-vote.org
From Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/272921
In Windows, the COPY command run in a command prompt allows users to concatenate files by using a plus ("+") operator, for example: copy file1+file2 outfile In wine's cmd.exe, it seems to read file1+file2 as a single path and therefore outputs a "Path Not Found". Also, it does not recognize the "con" keyword used to represent stdout/stdin. Therefore another method of concatenating files: copy file1 outfile copy file2 con >> outfile does not work either. My Ubuntu version is 8.04, AMD64 architecture, though I have seen the same issue on the x86 version as well. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Platform|Other |PC OS/Version|other |Linux -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2009-05-29 12:20:13 --- Is this still an issue in current (1.1.22 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #2 from André H. <nerv(a)dawncrow.de> 2009-06-01 08:29:16 --- (In reply to comment #1)
Is this still an issue in current (1.1.22 or newer) wine?
Yes, it is. I am working on it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Joerg Schiermeier <newsletter(a)Schiermeier-Software.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |newsletter(a)Schiermeier-Soft | |ware.de --- Comment #3 from Joerg Schiermeier <newsletter(a)Schiermeier-Software.de> 2009-10-03 19:17:29 --- (In reply to comment #2)
(In reply to comment #1)
Is this still an issue in current (1.1.22 or newer) wine?
Yes, it is. I am working on it.
And still present in wine v1.1.30. also this will not work H:\test> copy /b infile1.bin + infile2.bin + infile3.bin outfile.bin Same like the first example but with spaces arount the '+' and binary concatenation. The resultfile is only the first file 'infile1.bin' wrongly named '+' (The filename is the plus sign). See this example: ---<example>--- see Attachment ---</example>--- -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 --- Comment #4 from Joerg Schiermeier <newsletter(a)Schiermeier-Software.de> 2009-10-03 19:22:27 --- Created an attachment (id=23900) --> (http://bugs.winehq.org/attachment.cgi?id=23900) Example of a 'copy /b' failure As I wrote in my comment here is an example of the 'copy /b' failure which ist related with the wrong/missing(?) interpretation of the 'plus sign' in cmd.exe. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 rusivi <rusivi1(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rusivi1(a)gmail.com --- Comment #5 from rusivi <rusivi1(a)gmail.com> 2010-09-13 18:45:13 CDT --- Does this occur in newest WINE? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 butraxz(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz(a)gmail.com --- Comment #6 from butraxz(a)gmail.com 2012-05-18 06:05:32 CDT --- This bug has not been updated for three years and OP by four. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #7 from Bruno Jesus <00cpxxx(a)gmail.com> 2012-07-01 16:52:20 CDT --- Still present in wine 1.5.7. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 SDoehla <doe(a)steinselb.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doe(a)steinselb.de --- Comment #8 from SDoehla <doe(a)steinselb.de> 2012-10-01 17:42:27 CDT --- (In reply to comment #7)
Still present in wine 1.5.7.
and also in Wine 1.5.12. Seriously, this bug stops people from working with existing DOS batch scripts that make extensive use of this feature to append files. Though Wine works great for most applications, BAT scripting support is a very basic functionality that I don't see as a wishlist feature, but essential. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com Component|dos |cmd -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us(a)edmeades.me.uk Summary|Copy command does not work |Copy command does not |as expected |support CON or CON: --- Comment #9 from Jason Edmeades <us(a)edmeades.me.uk> 2012-10-12 05:03:16 CDT --- Support for copy with + or * providing concatentation is covered under bugs 26943 and 27899, which I have just sent in a patchset for, so renaming this bug to the residual problem of support for CON (and CON:) and is similar to 21394 which reports the same issue using NUL (and NUL:) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32183 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs(a)winehq.org |us(a)edmeades.me.uk -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 --- Comment #10 from Jason Edmeades <us(a)edmeades.me.uk> 2012-11-19 15:07:26 CST --- Patch sent, you need both of http://www.winehq.org/pipermail/wine-patches/2012-November/120069.html http://www.winehq.org/pipermail/wine-patches/2012-November/120075.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 --- Comment #11 from Jason Edmeades <us(a)edmeades.me.uk> 2012-11-20 15:24:58 CST --- First patch is committed, problems with second patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr --- Comment #12 from Jason Edmeades <us(a)edmeades.me.uk> 2013-06-03 18:02:12 CDT --- The last patch in the series was wrong, and Eric submitted a few attempts to fix this in the console code in December 2012. The most recent set is here: http://www.winehq.org/pipermail/wine-patches/2012-December/121090.html This had a problem due to a hanging process (AJ) http://www.winehq.org/pipermail/wine-devel/2013-January/098395.html (Eric) http://www.winehq.org/pipermail/wine-devel/2013-January/098425.html Eric sent in a patch for the hanging process: http://www.winehq.org/pipermail/wine-patches/2013-January/121501.html which was committed http://www.winehq.org/pipermail/wine-cvs/2013-January/093158.html However the main patchset was not - maybe it just needed resending. Eric - Do you know what happened here, was it simply a case of not resending it after the extra fix was submitted? For reference, as far as I know / from testing that patch set, the windows cmd.exe will work fine in the 'copy con filename' mode once this patchset is applied. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=16214 Jason Edmeades <us(a)edmeades.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|us(a)edmeades.me.uk |wine-bugs(a)winehq.org -- 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=16214 Bug 16214 depends on bug 32183, which changed state. Bug 32183 Summary: Cannot open console device read only, then read from it to get input https://bugs.winehq.org/show_bug.cgi?id=32183 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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=16214 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #13 from Fabian Maurer <dark.shadow4(a)web.de> --- Still doesn't work properly as of wine-8.20 -- 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=16214 JoeS <jsouza(a)geocities.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsouza(a)geocities.com --- Comment #14 from JoeS <jsouza(a)geocities.com> --- Merge request !8849 should fix the remaining issue here copying from CON or CON:. -- 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=16214 --- Comment #15 from JoeS <jsouza(a)geocities.com> --- Remaining issue should be fixed with this commit SHA: https://gitlab.winehq.org/wine/wine/-/commit/d79cf39c1fadf4ad01e7504884adc6b... -- 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=16214 Eric Pouech <eric.pouech(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |d79cf39c1fadf4ad01e7504884a | |dc6b116f356ab Status|NEW |RESOLVED --- Comment #16 from Eric Pouech <eric.pouech(a)gmail.com> --- fixed by d79cf39c1fadf4ad01e7504884adc6b116f356ab -- 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=16214 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.17. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla