Subj : system.exec() and commands in double-quotes To : Digital Man From : Nightfox Date : Fri Apr 11 2025 12:20:47 Re: system.exec() and commands in double-quotes By: Digital Man to Nightfox on Thu Apr 10 2025 05:14 pm DM> Okay, so no "escaped quotes" are actually being passed to system(). I was DM> confused by your reply to phigan. Maybe I'm not understanding what you mean by escaped quotes.. I escaped the double-quotes in the string with the command because I used double-quotes for the whole thing. DM> The end result (passed to system()) looks like it would be: DM> ""C:\Program Files\Path\To\Program" some-arg "some-arg"" DM> That's pretty weird. Yeah, it's weird but it looks like that's what's working on Windows. DM> One nice thing about JavaScript is you don't have to escape the DM> double-quotes if you inclose the string in single-quotes. So could DM> probably get away without escaping anything. I sometimes forget you can use single-quotes for strings in JS. Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .