Question about nested quotes
Posted: 03 Jun 2014 07:10
Sorry but I couldn't figure out how to make 3rd-level quotes work. For instance, I'm using Console to run cmd commands, the general syntax is as follows:
In particular, I'm trying to run a utility "pdfinfo" that takes file path-names as arguments
I thought since <curitem> is the 3rd-level nested quotes, it should have 4 pairs of double-quotes around it. But that doesn't work as long as the path-name contains space.
So my question is, in such scenarios requiring more than 2 levels of quotes, how to do the quoting properly to handle path-names with space?
Thank you very much.
Code: Select all
console -r "some command"
Code: Select all
run "Console.exe -r ""/k D:\Xpdf\pdfinfo.exe """"<curitem>""""""";
So my question is, in such scenarios requiring more than 2 levels of quotes, how to do the quoting properly to handle path-names with space?
Thank you very much.