title: How to pass the Directory path as command line for the process?
body: <p>iam using regasm.exe to generate tlb file and register the assembly programatically.But the path of tlb in .NET root directory itself. so do like this</p>
  
  <p>buffer contains c:\windows\Microsoft.Net\framework\v2.0.57\RegAsm.exe</p>
  
  <pre><code>if(!CreateProcessW(buffer,L" C:\\Program Files\\Test\\Test.dll  /codebase /tlb /silent" ,NULL, NULL,FALSE, 0,NULL,NULL,(LPSTARTUPINFOW)&amp;si,&amp;pi ) )
  </code></pre>
  
  <p>But i think  it wont take full path since there is a blank b/w Program and Files.as expected the when i run the command it also shows unable to locate input assembly c:\program.</p>
  
  <p>normally at command prompt we can give as</p>
  
  <p>RegAsm.exe <b>"c:\program files\Test\test.dll" /codebase /tlb </b>
  this bold characters i have to pass as command line but it have Double quptes with in double quotes. so i was strucked.</p>
  
  <p>How can i fix it</p>