Click here to Skip to main content
Rate this: bad
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 6:41am
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.)
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
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[^]

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

Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2015
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