<p>I am trying to use MinGW to compile a C program under Windows XP. The gcc.exe gives the following error:</p>

<p><strong>stdio.h : No such file or directory</strong></p>

<p>The code (hello.c) looks like this:</p>

<pre><code>#include &lt; stdio.h &gt;

void main()
{
    printf("\nHello World\n");
}
</code></pre>

<p>I use a batch file to call gcc. The batch file looks like this:</p>

<pre><code>@echo off
set OLDPATH=%PATH%
set path=C:\devtools\MinGW\bin;%PATH%
set LIBRARY_PATH=C:\devtools\MinGW\lib
set C_INCLUDE_PATH=C:\devtools\MinGW\include

gcc.exe hello.c 

set path=%OLDPATH%
</code></pre>

<p>I have tried the option <strong>-I</strong> without effect. What do I do wrong?</p>

Try changing the first line to:
```
```
#include <stdio.h>
```
```
without the spaces. It is trying to look for a file called " stdio.h " with a space at the beginning and end.