I am running Wireshark 1.6.6 on Windows XP SP3 (32-bit). Previously, a custom window title had been added through the Edit -> Preferences -> Layout -> Custom window title
preference. Now I want to be able to start Wireshark from the command-line (or a Windows shortcut) and have that window title cleared out, but I have been unsuccessful at doing so. I have tried as many combinations of single & double quotations, escaped and not escaped, as I can think of, but to no avail.
Ultimately my goal is to create an installer that ensures the window title is cleared, so I will need to take what works from the command-line then modify the relevant CreateShortCut
entries in the wireshark.nsi
file, and from what I've seen, the quotation requirements might be different there as well.
Some things I've tried that fail:
-o "gui.window_title:"
This results in "wireshark: Invalid -o flag "gui.window_title:"
-o "gui.window_title:"""
Wireshark displays, ["]
-o "gui.window_title:\"\""
Wireshark displays, [""]
-o 'gui.window_title:'
Wireshark displays the old window title that I'm trying to clear away-o 'gui.window_title:'''
Wireshark displays the old window title that I'm trying to clear away-o 'gui.window_title:\'\''
Wireshark displays the old window title that I'm trying to clear away-o "gui.window_title:''"
Wireshark displays, ['']
-o "gui.window_title:\'\'"
Wireshark displays, [\\'\\']
-o 'gui.window_title:""'
Wireshark displays the old window title that I'm trying to clear away-o 'gui.window_title:\"\"'
Wireshark displays the old window title that I'm trying to clear away-o 'gui.window_title: '
This results in "wireshark: Invalid -o flag "'gui.window_title:"
-o 'gui.window_title: '''
This results in "wireshark: Invalid -o flag "'gui.window_title:"
-o 'gui.window_title: \'\''
This results in "wireshark: Invalid -o flag "'gui.window_title:"
... and several other variants as well, none of which worked either.
Does anyone have any ideas? Thanks, Chris
asked 12 Apr '12, 14:01
cmaynard ♦♦
9.4k●10●38●142
accept rate: 20%