Have you tried ^"
? ^
escapes most characters in cmd
(On investigation)
Quote fromWinDbg Command-Line Options
-c " command "
Specifies the initial debugger command to run at start-up. This command must be
enclosed in quotation marks. Multiple commands can be separated with semicolons.
(If you have a long command list, it may be easier to put them in a script and
then use the -c option with the $<, $><, $><, $$>< (Run Script File) command.)
If you are starting a debugging client, this command must be intended for the
debugging server. Client-specific commands, such as .lsrcpath, are not allowed.
And clicking on the $...
hyperlink further explains these options.
Seems that you actually want to include the " in your echo
. Frankly, I've no idea - but what I'd try would be -c ".echo Wel^"come"
and if that doesn't work, I'd go off to the $-option
gobbledegook. No-one (sane) ever claimed that every possibility had been considered in constructing these facilities...