[Bug 33638] New: wine cmd wrong extracting of command line arguments while using "%~1"
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 22 01:53:19 CDT 2013
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 at winehq.org
ReportedBy: loentar at 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-us/percent.mspx?mfr=true
--
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