How can i escape quotation for DOS command parameter??
- From: krondor@xxxxxxxxxxxxx
- Date: Sun, 27 Apr 2008 20:16:59 -0700 (PDT)
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??
.
- Follow-Ups:
- Re: How can i escape quotation for DOS command parameter??
- From: Coos Haak
- Re: How can i escape quotation for DOS command parameter??
- Prev by Date: Re: random number question.
- Next by Date: INTERNATIONAL WORKSHOP ON OPTICAL SUPERCOMPUTING (OSC'08): Deadline extension
- Previous by thread: Programming Discussion Forum
- Next by thread: Re: How can i escape quotation for DOS command parameter??
- Index(es):
Relevant Pages
|