Hi Forum

Code:
      if ( CreateProcess(
          NULL,          /* Module name is in the next parameter.             */
          cmd_buf,     /* Command to execute.                               */
          NULL,          /* Process security attributes - not inheritable.    */
          NULL,          /* Thread security attributes - not inheritable.     */
          FALSE,        /* Don't inherit handles.                            */
          0,                /* No special priority or console classification.    */
          NULL,          /* My environment is good enough for you.            */
          NULL,          /* Don't change the current working directory.       */
          &siStartup,   /* Start-up info.                                    */
          &piProcess)) { /* Process info.  Includes process & thread ids.     */
I am trying to create a process at this path
C:\Documents and Settings\abc.exe
works file for me

But
If I have a file called Documents in C drive like
C:\Documents

this call fails

Any suggestions how to tackle this?