Skip to main content

Topic: A bug of neroaactag.exe? (Read 1786 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • quadamage
  • [*]
A bug of neroaactag.exe?
Hi there, I have troubles in  setting tag value containing quotation marks

Code: [Select]
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



Code: [Select]
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.

  • lvqcl
  • [*][*][*][*][*]
  • Developer
A bug of neroaactag.exe?
Reply #1
\" works:
Code: [Select]
neroaactag test.m4a -meta:title="\"Test Title\""


  • nu774
  • [*][*][*][*][*]
  • Developer
A bug of neroaactag.exe?
Reply #2
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).