KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: Escaping quotation marks in strings (e.g. for shellexecute instructions)
Topic Summary: how can I put quotation marks in a string without it being treated as the end of the string?
Created On: 05/04/2020 04:45 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 05/04/2020 04:45 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - R. Wilke - 05/04/2020 05:09 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Lunis Orcutt - 05/04/2020 06:42 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 05/05/2020 02:12 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - PG LTU - 05/05/2020 03:02 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/21/2020 02:35 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - PG LTU - 07/22/2020 09:49 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/23/2020 11:45 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/23/2020 03:00 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Mav - 07/24/2020 03:48 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/29/2020 04:39 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Lunis Orcutt - 07/30/2020 01:40 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/31/2020 09:17 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Lunis Orcutt - 07/31/2020 12:30 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 08/07/2020 01:27 PM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 08/12/2020 10:37 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Edgar - 08/12/2020 11:58 AM  
 Escaping quotation marks in strings (e.g. for shellexecute instructions)   - Twisted_Code - 07/26/2020 04:37 PM  
Keyword
 05/04/2020 04:45 PM
User is offline View Users Profile Print this message

Author Icon
Twisted_Code
Senior Member

Posts: 99
Joined: 04/01/2015

how can I put double quotation marks in a string without it being treated as the end of the string? I tried a few ways I know from other scripting language syntaxes, such as using single quotes on the outside or putting a \ before the double quotes inside the string, but neither of those work. I also tried using single quotes inside the string, but the command I'm trying to use, taskkill, doesn't treat those the same way, and fails.

I tried to figure it out from the scripting help in the application's help file, but the help file's index is not very, well, helpful and the few articles I found in the document that seemed vaguely relevant were VERY short. I don't suppose you have a more organized documentation resource somewhere?



-------------------------

“Talk is cheap. Show me the code.” ~ Linus Torvalds


 


"It is good to have empathy.  But it is not essential.  What is essential is that one displays empathy, however one musters it." ~ ax (in a post on this very forums)


 


more favorite quotes

Statistics
32357 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 2 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 313 guests browsing this forum, which makes a total of 315 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2022 FuseTalk™ Inc. All rights reserved.