Quote Originally Posted by Erondial
Well, windows has to have some way of figuring out which file you have selected if you open it via the enter key... it's obviously stored SOMEWHERE... there's no function to get any information about the file?
When you select a file using explorer.exe, only that program knows where it is. Since explorer.exe is a separate application, you can't find out directly what file is selected. However since it probably uses a ListView control, you could do some complicated DLL injection and message hooking, but I don't think it's worth it.