[so] [SO][Tema1][Windows]Expandare automata

Alin Popescu alinpopescu at live.com
Sat Mar 28 23:46:37 EET 2009


Wow, a mers din prima.
Mersi mult.

Alin.

> Date: Sat, 28 Mar 2009 23:41:36 +0200
> From: sergiu.iordache at gmail.com
> To: so at cursuri.cs.pub.ro
> Subject: Re: [so] [SO][Tema1][Windows]Expandare automata
> 
> 2009/3/28 Alin Popescu <alinpopescu at live.com>:
> > Salut
> > Nu inteleg de ce mi se expandeaza automat echo * la echo (ce contine
> > directorul) cand creez un nou proces cu CreateProcess(NULL,
> > _strdup(cmd),...).
> > Ce ar trebui sa fac?
> 
> "Pentru a permite transmiterea de caractere speciale în argumente
> (spre exemplu echo "int main() { return 0; }") recomandăm să
> "îngrădiți" argumentele liniei de comandă a CreateProcess cu
> ghilimele. "[1]
> Cred că de la asta e.
> 
> Sergiu.
> 
> [1] http://cs.pub.ro/~so/index.php?section=Teme&file=01.%20Mini-shell#Preciz.C4.83ri_Windows
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so

_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090328/caed289f/attachment-0001.htm>


More information about the so mailing list