I have found the solution after some experimentation. If the \jobname is prefixed by a word [solved] and space, the command should be "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:/Program Files (x86)/texstudio/texstudio.exe\" \"%%f\" -line %%l" ?a"[solved]" ?m.pdf On the other hand, if it is appended by a space and a word [solved], the command should be "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:/Program Files (x86)/texstudio/texstudio.exe\"...
This question has been asked here. If I have a PDF file whose name is <\jobname>~[solved].pdf (with spaces in the absolute path and the file name), how can I create a TeXStudio user command that opens this file knowing that the following doesn't work in recognizing the intended full name: "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:/Program Files (x86)/texstudio/texstudio.exe\" \"%%f\" -line %%l" "?am [solved].pdf"
This question has been posted here. If I have a PDF file whose name is <\jobname>~[solved].pdf (with spaces in the absolute path and the file name), how can I create a TeXStudio user command that opens this file knowing that the following doesn't work in recognizing the intended full name? "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:/Program Files (x86)/texstudio/texstudio.exe\" \"%%f\" -line %%l" "?am [solved].pdf"
Adding "Open folder" to the context menu of the file tab