Actually, I'm having a slight problem. This is what I have:
PHP Code:
FILE * handle = _popen("D:\\Program Files\\PHP\\php-4.3.1-Win32\\PHP.EXE H:\\paul.php", "rt");
The only problem with it is that Program Files is two words and so obviousley its trying to run D:\Program with the rest as arguments.
I know I could go through and chop it up heaps and replace it with ~1's, but is there an easier way? For example, could I replace the spaces with a character or something (I don't do a lot of console stuff), or, is there another function similar that will work in the same way bit with long filenames?
Any help is once again appreciated