Re: If File.Exists Else question
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Fri, 14 Oct 2005 21:20:07 +0100
Joseph Oget <philippeoget@xxxxxxxxxxx> wrote:
> No, as I said to Patrice the file exists and is found and executed, so why
> is the Else statement executed and the If (exist..) isn't?
Well, you haven't shown the code which executes the file, which doesn't
help. If you're just starting a new process, it's quite possible that
that's searching the path for the file, which File.Exists won't.
Could you post a short but complete program which demonstrates the
problem?
See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- References:
- If File.Exists Else question
- From: Joseph Oget
- Re: If File.Exists Else question
- From: Joseph Oget
- Re: If File.Exists Else question
- From: CT
- If File.Exists Else question
- Prev by Date: Re: Does Monitor.Exit yield to waiting threads?
- Next by Date: Re: Problems with IDE - no intellisense, no undo, and no code completion
- Previous by thread: Re: If File.Exists Else question
- Next by thread: Re: If File.Exists Else question
- Index(es):
Relevant Pages
|