2008/9/8 Alexander Nicolaysen Sørnes <alex at thehandofagony.com>: > - if (!lstrcmp(txtW, cmdline + lstrlen(cmdline) - lstrlen(txtW))) > + if (strchrW(PathFindFileNameW(cmdline), '.')) You're using one shell helper function already so why not use PathFindExtensionW instead? -- Rob Shearman