So you have a string like ' "file with long filename.txt" ' and you want it to become 'file with long filename.txt'? Try this:
Approximate, and likely will cause a memory leak, or access violation now that I think about it. Hmmm.
char * RemoveQuotes(char *lpString)
That should work fine I think.
void RemoveQuotes(char *lpString)
for (int i=0;i<size;i++)