<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alin Popescu wrote:
<blockquote cite="mid:COL116-W80289078ED2E3E64B18DE3C68F0@phx.gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>Salut<br>
Nu inteleg de ce mi se expandeaza automat echo * la echo (ce contine
directorul) cand creez un nou proces cu CreateProcess(NULL,
_strdup(cmd),...).<br>
Ce ar trebui sa fac?<br>
<br>
<hr></blockquote>
Vezi thread-ul precedent ("Comportament ciudat variabile de
mediu"). Shell-ul expandeaza atat variabilele de mediu ($XYZ), cat si
caracterele speciale ( *, ? ) _inainte_ de a executa programul tau. <br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan Sass
CCAI,CCSP,JNCIA-ER,CCIE #22221 (RS)
Information Systems Security Professional
"Curiosity was framed - ignorance killed the cat"</pre>
</body>
</html>