[Wine] Re: cmd.exe behaviour

Allodoxaphobia bit-bucket at config.com
Mon Mar 19 00:51:48 CDT 2007

On 13 Dec 2006 08:38:17 -0800, Ralph.Blach at 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.c
> Chip
> Ralph.Blach at 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.

Do it like it has always been done since The Beggining Of Time?

c:\windows\system32\cmd.exe /c 'echo y | copy h:xx h:xxx'

Untested. Unsure about the need for quotes there...

  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    *** Killfiling google posts: <http//jonz.net/ng.htm>

More information about the wine-users mailing list