Click here to Skip to main content
15,928,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmpeg2 video Stream length Pin
yogev31-Jan-04 23:18
yogev31-Jan-04 23:18 
GeneralSwitching between applications Pin
techysavvy31-Jan-04 23:07
techysavvy31-Jan-04 23:07 
GeneralRe: Switching between applications Pin
__Cerb1-Feb-04 4:01
__Cerb1-Feb-04 4:01 
GeneralRe: Switching between applications Pin
techysavvy3-Feb-04 1:31
techysavvy3-Feb-04 1:31 
GeneralAbout MSXML Pin
Anonymous31-Jan-04 22:17
Anonymous31-Jan-04 22:17 
GeneralRe: About MSXML Pin
Michael P Butler1-Feb-04 8:16
Michael P Butler1-Feb-04 8:16 
GeneralRe: About MSXML Pin
Anonymous2-Feb-04 4:42
Anonymous2-Feb-04 4:42 
GeneralAdvice on Enumerating and Searching Folders Needed Pin
Roger Wright31-Jan-04 19:29
professionalRoger Wright31-Jan-04 19:29 
Over time, as I download various bits from the Internet, things tend to get widely distributed on my hard drives. In this particular instance, image files are all over the place, in download folders, in Administrator and User folders - it's a mess. I'd like to create a utility that allows me to enter a file descriptor - a regex might be a good way to do this - and a destination folder, then traverse the entire set of drives and their contained folders to send copies of matching files to the destination folder. Ideally the program would also detect version numbers or last modified dates and only copy the most current versions. What's got me stumped a bit is how to organize the search.

Should I enumerate the top level folders and process them first, then move down a layer and repeat, or should I follow a directory chain to its end before processing the next top level folder? What is a good data structure for keeping track of where I am in the process, and which folders have already been processed? In some ways, the process reminds me of the challenge of traversing rule bases in Prolog, without the cuts, and I never progressed far enough in that language to really get into the implementation details. While I'm at it, will Hidden and System folders be invisible to the process, or does that only apply to displays in Explorer?

Thanks for any suggestions... This might make for a decent Beginner article when it's completed, and I'll be sure to mention any who helped along the way.Smile | :)

Heard in Bullhead City - "You haven't lost your girl -
you've just lost your turn..." [sigh] So true...
GeneralRe: Advice on Enumerating and Searching Folders Needed Pin
ColinDavies31-Jan-04 20:55
ColinDavies31-Jan-04 20:55 
GeneralRe: Advice on Enumerating and Searching Folders Needed Pin
Neville Franks31-Jan-04 22:58
Neville Franks31-Jan-04 22:58 
GeneralRe: Advice on Enumerating and Searching Folders Needed Pin
Roger Wright1-Feb-04 3:22
professionalRoger Wright1-Feb-04 3:22 
QuestionBoost smart pointers - can I do this? Pin
Neville Franks31-Jan-04 19:04
Neville Franks31-Jan-04 19:04 
AnswerRe: Boost smart pointers - can I do this? Pin
Joaquín M López Muñoz1-Feb-04 2:12
Joaquín M López Muñoz1-Feb-04 2:12 
GeneralRe: Boost smart pointers - can I do this? Pin
Neville Franks1-Feb-04 12:01
Neville Franks1-Feb-04 12:01 
GeneralCreate a Popup IE window from C++ Pin
Shutter31-Jan-04 16:32
Shutter31-Jan-04 16:32 
GeneralRe: Create a Popup IE window from C++ Pin
Neville Franks31-Jan-04 18:52
Neville Franks31-Jan-04 18:52 
GeneralAdobe Acrobat Reader OCX problem Pin
Alex Korchemniy31-Jan-04 16:23
Alex Korchemniy31-Jan-04 16:23 
GeneralRe: Adobe Acrobat Reader OCX problem Pin
Snyp31-Jan-04 16:59
Snyp31-Jan-04 16:59 
GeneralRe: Adobe Acrobat Reader OCX problem Pin
Alex Korchemniy31-Jan-04 17:14
Alex Korchemniy31-Jan-04 17:14 
General&*%&*&(*)$)(#@*& Edit box problem! Pin
Terry O'Nolley31-Jan-04 16:11
Terry O'Nolley31-Jan-04 16:11 
GeneralRe: &*%&*&(*)$)(#@*& Edit box problem! Pin
Snyp31-Jan-04 16:18
Snyp31-Jan-04 16:18 
GeneralRe: &*%&*&(*)$)(#@*& Edit box problem! Pin
Terry O'Nolley31-Jan-04 16:54
Terry O'Nolley31-Jan-04 16:54 
GeneralRe: &*%&*&(*)$)(#@*& Edit box problem! Pin
Jim Crafton1-Feb-04 14:05
Jim Crafton1-Feb-04 14:05 
GeneralC++ Question. Pin
WREY31-Jan-04 13:04
WREY31-Jan-04 13:04 
GeneralRe: C++ Question. Pin
User 665831-Jan-04 13:24
User 665831-Jan-04 13:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.