PC Review


Reply
Thread Tools Rate Thread

Directory Search

 
 
james
Guest
Posts: n/a
 
      30th Sep 2011
I have my solution files is in a directory structure say

C:\Projects\MyProjeject\myproject.sln

In the solution I need to find a file which is in a directory out side
my MyProject directory
So I need to iterate up the Directory tree starting from MyProject
directory(but excluding that).

I need a efficient code that does the job using recursion or whatever
logic thought of.
 
Reply With Quote
 
 
 
 
Jeff Johnson
Guest
Posts: n/a
 
      30th Sep 2011
"james" <(E-Mail Removed)> wrote in message
news:92f55147-7718-45b6-95ce-(E-Mail Removed)...

>I have my solution files is in a directory structure say
>
> C:\Projects\MyProjeject\myproject.sln
>
> In the solution I need to find a file which is in a directory out side
> my MyProject directory
> So I need to iterate up the Directory tree starting from MyProject
> directory(but excluding that).
>
> I need a efficient code that does the job using recursion or whatever
> logic thought of.


When you say you "need to file a file," do you mean you need the IDE to find
a file and refer to it at DESIGN time or do you mean your PROGRAM needs to
find a file at RUN time?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Search Directory =?Utf-8?B?Unlhbg==?= Microsoft Windows 2000 Active Directory 4 18th Sep 2006 06:06 PM
Search directory =?Utf-8?B?TGVBbm4=?= Microsoft Access VBA Modules 10 14th Oct 2005 05:26 PM
Directory Search =?Utf-8?B?RnJhbg==?= Microsoft Access Forms 1 3rd Jun 2004 08:52 PM
Search within directory spasmous Windows XP Basics 4 15th Jan 2004 05:41 AM
Directory Search brian Microsoft ASP .NET 0 11th Aug 2003 08:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:18 PM.