Nov 11, 2003 #1 PatmanP Programmer Joined Nov 11, 2003 Messages 3 Location PL I need to know how select file in Explorer after I create new instance using ShellExecute?
Nov 11, 2003 #2 footpad Programmer Joined Nov 9, 2000 Messages 1,086 Location US PatmanP, According to MSDN (http://support.microsoft.com/default.aspx?scid=KB;en-us;152457), use [/code]/select,filename[/code] to do this from the command-line. Example: Code: explorer /select,c:\Program Files Note the comma; it's required. Also, please note that you can't do this with hidden files, even if they're displayed. Hope this helps... -- Lance Upvote 0 Downvote
PatmanP, According to MSDN (http://support.microsoft.com/default.aspx?scid=KB;en-us;152457), use [/code]/select,filename[/code] to do this from the command-line. Example: Code: explorer /select,c:\Program Files Note the comma; it's required. Also, please note that you can't do this with hidden files, even if they're displayed. Hope this helps... -- Lance
Nov 12, 2003 Thread starter #3 PatmanP Programmer Joined Nov 11, 2003 Messages 3 Location PL It's working. Thx. Upvote 0 Downvote
Nov 22, 2003 Thread starter #4 PatmanP Programmer Joined Nov 11, 2003 Messages 3 Location PL Another question. How to use drag'n'drop when I'm moving or copying file from my application to Explorer? Upvote 0 Downvote
Another question. How to use drag'n'drop when I'm moving or copying file from my application to Explorer?