How can i escape quotation for DOS command parameter??



i'm in trouble with escaping " in dos command.

A string have to be given to a batch file like this...

C:> myBatchFile.bat "your blue eyes"


but in many case, the string can have quotation
(actually, a regular expression should be given... sigh.)

C:> myBatchFile.bat "your "blue" eyes"

I want to send [your "blue" eyes], not [your ]
How can i escape quotation for DOS command parameter??
.



Relevant Pages

  • Re: How can i escape quotation for DOS command parameter??
    ... A string have to be given to a batch file like this... ... How can i escape quotation for DOS command parameter?? ...
    (comp.programming)
  • Re: Whats up with this SHA256 program?
    ... It is designed for use with a DOS command line as follows: ... where 'string' is a sequence of characters. ... which is the correct hash for the three character string 'abc' (without the ...
    (sci.crypt)
  • Re: block issues...
    ... On Fri, 18 Sep 2009, Dylan Lukes wrote: ... Since the key is a string, ... (If you do want to escape quotation ... David A. Black, Director ...
    (comp.lang.ruby)
  • Re: how to pass parameters to myapp.exe
    ... You don't need "with" on the DOS command line. ... That's an Xbase command. ... Your windows shortcut should be: ... Your application will receive the string ".t." ...
    (microsoft.public.fox.programmer.exchange)