Welcome Guest ( Log In | Register )

A bug of neroaactag.exe?, Can not set tag value containing quotation marks, ver 1.51
post Feb 23 2012, 19:28
Post #1

Group: Members
Posts: 28
Joined: 22-September 07
Member No.: 47256

Hi there, I have troubles in setting tag value containing quotation marks

C:\>neroaactag test.m4a -meta:title="Test Title"
Processing file: "test.m4a"
Updating MP4 file...
File updated successfully.

It just worked fine to set the title value to Test Title

C:\>neroaactag test.m4a -meta:title=""Test Title""

Processing file: "test.m4a"
  Invalid/unknown command: Title

It failed when I tried to set the title value to "Test Title"
Can anyone tell me what's wrong with the command or is this just a bug of neroaactag.exe?
Thank you in advance.
Go to the top of the page
+Quote Post
Start new topic
post Feb 24 2012, 03:04
Post #2

Group: Developer
Posts: 693
Joined: 22-November 10
From: Japan
Member No.: 85902

Here is the MSVC runtime command line arguments (argv) parsing rule:
Parsing C++ Command-Line Arguments

However, note that it is not handled not by OS layer or shell (cmd.exe), but C runtime implementation specific, which can vary with compilers. In MSVC case, functions such as __getmainargs() or __wgetmainargs() are internally used.

cmd.exe also has it's own parsing rules. Double quote in cmd.exe has also special meaning for cmd.exe, therefore it can be confusing.
Escape character of cmd.exe is ^ (circumflex).
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 28th November 2015 - 12:11