Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows
How to get a list of selected files in windows explorer? I want build my program in Context menu of Winxp and upload files to server. I have code of uploading. But i am not know to determ list of selected files
Posted 12-Nov-12 5:41am
Radzhab1.2K
Comments
joshrduncan2012 at 12-Nov-12 11:43am
   
What have you tried so far?
Radzhab at 12-Nov-12 11:46am
   
how determ list of selected files ?
Sergey Alexandrovich Kryukov at 12-Nov-12 14:42pm
   
First of all, why would you work with Explorer? (And what if your user prefers a different file manager?) What is your goal? Shell extension application, or something?
(It's very likely you want command like arguments, as Dave explained in Solution 1, but it's not apparent from the question.)
--SA
Radzhab at 13-Nov-12 4:54am
   
you have winrar? Example i select several files, push mouse and in contex menu i find add to archive.
 
I also want.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The list of files is passed to you as command line arguments when your .EXE is launched by Explorer.
 
Read this[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 410
1 Maciej Los 300
2 OriginalGriff 288
3 CHill60 190
4 Sinisa Hajnal 180


Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100