>1. You must use double quotes instead of single quotes as delimiters for your string. Single quotes are delimiters for single characters.
>2. In C/C++ the backslash char is reserved char used to specify special characters (like an escape code). Here is a short list of special chars (there are many of them :)):
>
>\ -> \\
>CR -> \n
>Tab -> \t
>Ascii code zero -> \0
>
>So, you need WinExec("c:\\windows\\notepad.exe",SW_SHOWNORMAL)...
That is good to know. Thanks.