← Back to context

Comment by floatingatoll

4 years ago

That order is not guaranteed consistent across installations, however.

I wonder if code to this effect has ever been written before

  for (int i = 1; i < INT_MAX; i++) {
    if (dirExists("C:\\PROGRA~%d\\ProgramName", i)) {