Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Tony Hoyle wrote: > Terris Linenbach wrote: > > DEFAULT dgloginfohtmlnntpemail "%{sVv}" "$USER" >> >> So I am trying to put double-quotes around the filename, but for some >> reason it doesn't work. > > Try putting multiple sets of double quotes... > > cmd.exe is buggy, unfortunately, and doesn't handle escaped files > properly. With 2.1.x I'll probably get the chance to change the > syntax to make it possible to do that kind of stuff... that doesn't > help you now though. > > Tony cmd.exe handles quotes in a weird way, but i don't think it's buggy. when you say CreateProcess("cmd /c ...") it executes the string after the /c as exactly as if it were typed into the command prompt window. The only exception is that if the first character is a double quote then it and the very last double quote character are stripped and the resulting string is run instead. This is described in the cmd.exe docs that print when you run "cmd /?" Anyway, Terris's example actually works for me when I leave the quotes off of %{sVv} since cvsnt adds its own. - Russ