[Bug 25115] New: xcopy.exe in batch file doesn't ask for Y/N before copying
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Nov 11 10:37:50 CST 2010
http://bugs.winehq.org/show_bug.cgi?id=25115
Summary: xcopy.exe in batch file doesn't ask for Y/N before
copying
Product: Wine
Version: 1.3.4
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dos
AssignedTo: wine-bugs at winehq.org
ReportedBy: guy.melard at yahoo.fr
Created an attachment (id=31851)
--> (http://bugs.winehq.org/attachment.cgi?id=31851)
Excerpt from a multi-megabytes log file created by my program
xcopy.exe in batch file doesn't ask for Y/N before copying
I wrote a Windows software using Delphi and was pleased that it runs under
Linux Mandriva Spring 2009 (under VirtualBox under WinXP) thanks to Wine.
Congratulations !
I also wrote an installer for a CD-Rom for which, given the large number of
files (> 1000) to copy I created a batch file with several XCOPYs.
For example
XCOPY "G:\TSE24MPC" "C:\Program Files\MPCT2v3\TSE24MPC" /S/I/C >> "C:\Program
Files\MPCT2v3\MPCT2.log"
(where G: is the CD and MPCT2v3 is the (already created) directory where the
files should be copied)
Unfortunately I didn't use the /Y parameter which "Overwrites existing files
without prompting" because it was not supported by some Microsoft older OSes.
Instead I used
SET COPYCMD=/Y >>"C:\Program Files\MPCT2v3\MPCT2.log"
which apparently was not taken into account.
My program records batch file output in a log file (see attachment) which grew
up to hundreds of MB's while Wine File Manager didn't show the expected copies.
At worse it appears that XCOPY should display a message in my French XP
Remplacer C:\Program Files\MPCT2v3\TSE24MPC\$DJ.BGI (Oui/Non/Tous)?
But no message appears since no command prompt window is there and the same
message repeats itself until I stop the XCOPY program in Task Manager.
It should perhaps be wise to eliminate interaction from DOS commands or support
COPYCMD to avoid the problem. Thank you again.
--
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.
More information about the wine-bugs
mailing list