SebR 146 Posted June 20, 2015 Share Posted June 20, 2015 Hi,What is the correct syntax if there is space in the query ?start C:\Users\...\ENScript.exe showNotes /q tag:"tag test"start C:\Users\...\ENScript.exe showNotes /q "tag:tag test"Don't work :/ Link to comment
Level 5* gazumped 12,072 Posted June 21, 2015 Level 5* Share Posted June 21, 2015 Hmmn. I would've gone with ...tag:"tag test" - if that doesn't work, being lazy, I'd probably rename the tag to tag_test... Link to comment
SebR 146 Posted June 21, 2015 Author Share Posted June 21, 2015 Actually it's for notebook query (for backup local notebook) , but issue is the same; and yes, I already replace space by an underscore it works ; but I'd like to know if I'm doing it wrong or if it's a bug. Link to comment
Level 5* gazumped 12,072 Posted June 21, 2015 Level 5* Share Posted June 21, 2015 It may be a bug - I did the search in Evernote and tag:"tag test" is the right format to find a tag with a space, but your experience suggests that ENscript might not be using it correctly... Link to comment
SebR 146 Posted June 21, 2015 Author Share Posted June 21, 2015 Yes. In both case the ENScript query return (with the show command) notes with "tag:tag", beginning with "test". The quotes seem to be ignored. Link to comment
SebR 146 Posted June 21, 2015 Author Share Posted June 21, 2015 EUREKA ! The quotes of the search query must be escaped with a backslash. And both syntax work. start C:\Users\...\ENScript.exe showNotes /q notebook:"\"100. Local\""start C:\Users\...\ENScript.exe showNotes /q "notebook:\"100. Local\"" Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.