http://bugs.winehq.org/show_bug.cgi?id=33638 Bug #: 33638 Summary: wine cmd wrong extracting of command line arguments while using "%~1" Product: Wine Version: 1.5.30 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs(a)winehq.org ReportedBy: loentar(a)gmail.com Classification: Unclassified 1. wine cmd extracts "%~1" as is when no argument passed to command file, but must extract as empty string. 2. "%~1" must remove any quotation marks from arguments, but wine cmd leave it unchanged. example: test.cmd ---- echo "%~1" ---- start under winxp: ----
test.cmd 1
"1"
test.cmd "1"
"1"
test.cmd
"" ---- start under wine cmd: ----
test.cmd 1
"1"
test.cmd "1"
""1""
test.cmd
"%~1" ---- for reference see this topic: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-... -- 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.