Forums

RS-Linkify Thread is sticky

Quick find code: 261-262-33-65181208

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
All right, now we're talking!

Thank you again Lust, for your fine editing skills :)

@White Julia, I've given you a new code, and deleted the old one. I think you'll agree it was worth doing this way. I hope you like :)

­­­­White Julia­­ http://www.indecentcode.com/rslinkify_images/10664.png ­­10664­­­­

07-Feb-2015 12:01:26

Charles
Dec Member 2023

Charles

Posts: 9,155 Rune Posts by user Forum Profile RuneMetrics Profile
For Lifer (or anyone else who can help!)

I need to make this a string, exactly as is:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --proxy-server="10.10.10.10:9999" -user-data-dir=C:\filterbypass www.example.co­m"

Characters keep escaping :( This is in c#

07-Feb-2015 16:49:16

Lifer
Jul Member 2008

Lifer

Posts: 12,424 Opal Posts by user Forum Profile RuneMetrics Profile
Actually,

try this if you haven't:

"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" --proxy-server="10.10.10.10:9999" -user-data-dir=C:\\filterbypass http://www.example.co­m"

or so

Idr which letters are escape characters, add an extra \ to any escape characters.

07-Feb-2015 16:57:03

Indecent Act

Indecent Act

Posts: 7,456 Rune Posts by user Forum Profile RuneMetrics Profile
You only need escape literals, you'll definitely need to escape the quotes.

I don't know C#, last time I looked at any C languages was about 15 years ago.

But to my knowledge this should work...

"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --proxy-server=\"10.10.10.10:9999\" -user-data-dir=C:\\filterbypass w ww.example.com"
^
missing quote?


Edited too many times, but I have mention it's unusual to see an odd number of quotation marks. My first thought is are you missing one?

This how I'd expect it to look, but it's just a guess I added in the other quote.

"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\" --proxy-server=\"10.10.10.10:9999\" -user-data-dir=\"C:\\filterbypass w ww.example.com"

07-Feb-2015 17:54:24 - Last edited on 07-Feb-2015 18:53:13 by Indecent Act

Quick find code: 261-262-33-65181208 Back to Top