When I execute the following command from a wine cmd.exe and the file xxx exists, c:\windows\system32\cmd.exe /c copy h:xx h:xxx Overwrite file (Y/N) How do I over ride the behavior of asking for a y/n. Thanks chip
Ok, after looking at the source file, is there any other way to get this behaviour changed other than changing the source? the source file is in program/cmd/builtins.c Chip Ralph.Blach@gmail.com wrote:> When I execute the following command from a wine cmd.exe > and the file xxx exists, > > c:\windows\system32\cmd.exe /c copy h:xx h:xxx > Overwrite file (Y/N) > > How do I over ride the behavior of asking for a y/n. > > Thanks > > chip
Ralph.Blach@gmail.com wrote:> When I execute the following command from a wine cmd.exe > and the file xxx exists, > > c:\windows\system32\cmd.exe /c copy h:xx h:xxx > Overwrite file (Y/N) > > How do I over ride the behavior of asking for a y/n.Does it work as on vanilla windows, with "copy /y". Ie. would this work: c:\windows\system32\cmd.exe /c copy /y h:xx h:xxx ++MStr
Ralph.Blach@gmail.com wrote:> Ok, after looking at the source file, is there any other way to get > this behaviour changed > other than changing the source? > > the source file is in program/cmd/builtins.cWell, since you have looked at the source, I suppose you already know the answer ;) If the real Windows cmd.exe behaves differently, then please change the source and submit a patch.