Wine inserts backslash before double qoutes in arguments

Questions about Wine on Linux
Post Reply
voidstar240
Newbie
Newbie
Posts: 1
Joined: Mon Feb 19, 2024 1:04 am

Wine inserts backslash before double qoutes in arguments

Post by voidstar240 »

Wine version 9.2 running on Arch Linux.

As the title says wine always inserts a backslash before double quotes. Is this intended behavior, and if so what is the workaround?

File test.bat contents:
echo %*

Command:
wine test.bat arg\"1 'arg"2' "arg\"3"

Output:
C:\TEST>echo arg\"1 arg\"2 arg\"3
arg\"1 arg\"2 arg\"3
Post Reply