I had a batch file which had the folowing line in, which ran fine, basically it produced a list of .log files.
Code:dir c:\"Program Files"\"William Hill Poker"\log\XP02202685\2009011318505875\*.log /b /s >>dirs.doc
However when I tried to run it from a C program using the system command eg:
It does not work, it comes back with, I think "Too many parameters".Code:system("mycreatelogfilelist.bat");
I think this is due to MSDOS really more than a 'C' thing but does anyone know
how I could have got it to work? It is I think something to do with the way it parses
the line being different when it is called from C but I don't know how to get around it.