> If something doesn't exist it simply doesn't exist.
Yes, exactly. I think you have it now. :)
> I could check to see if the deleted item temp _was_ a file or a
> directory if sufficient information is still available on the hard
> drive, but that’s beyond the point.
Very much, yes.
> Why would we need to know if something is a file or directory if
> something is not there anyhow?
I can only hypothesize. The OP didn't say (or I didn't notice if he did)
why he wants to make this determination.
But the fact is, that's what he appears to want to do.
> I was targeting the post:
>
[quoted text clipped - 12 lines]
> "Possible" being the operative word I guess, but again, why would we
> need to? If its not there, who cares what it could possibly be?
I don't know. I didn't think we needed to know that in order to answer
the question. I was probably wrong about that, in fact. After all, since
the answer is "you can't do that", a better answer would take into account
whatever it is the OP is really trying to do and help him with _taht_.
> It could possibly be a file, a directory or an elephant. I would prefer
> it to possibly be a cold beer, but if it doesn't exist then I'm still
> thirsty.
Well, at least a file or directory can in fact be retrieved, at least in a
virtual sense, via the .NET API.
When you get the cold beer feature working, let me know. Sounds great.
> On the other hand, I can choose to call it a cold beer, and no one can
> prove that I'm wrong... without "alien technology or something."
Well, perhaps that's the answer in fact. If all the OP wants to know is
whether the path is a valid filename or a valid directory, the answer is
"it's both" and no one can tell him it's neither, not until it's one or
the other.
> But if we all want a cold beer, then why argue? Lets just make up more
> NULL cold beers and hope we eventually get to drink one.
I'd rather wait until you get the kinks worked out of that feature. I
prefer non-null beers. :)
> Thanks for pointing this out to me Peter, I think I'll stay out of this
> thread for the remainder of it's already overly-extended life span. :)
Well, once you got back on track, it seems to me you contributed as much
useful thought to the thread as anyone else. You can stay out of the
thread if you want, but if you come up with other good ideas, you might
share them anyway.
Pete
Roger Frost - 22 Feb 2008 05:36 GMT
>> It could possibly be a file, a directory or an elephant. I would prefer
>> it to possibly be a cold beer, but if it doesn't exist then I'm still
[quoted text clipped - 4 lines]
>
> When you get the cold beer feature working, let me know. Sounds great.
My girlfriend will do that if I ask nicely. I do feel, however, that if I
try to call her via the API, she will throw an Exception and our
relationship will Lock possibly resulting in a Fatal system crash.
>> But if we all want a cold beer, then why argue? Lets just make up more
>> NULL cold beers and hope we eventually get to drink one.
>
> I'd rather wait until you get the kinks worked out of that feature. I
> prefer non-null beers. :)
Yeah I agree, that idea was just plain silly.
>> Thanks for pointing this out to me Peter, I think I'll stay out of this
>> thread for the remainder of it's already overly-extended life span. :)
[quoted text clipped - 5 lines]
>
> Pete
Why thank you, I will ponder the problem more.

Signature
Roger Frost
"Logic Is Syntax Independent"
> If something doesn't exist it simply doesn't exist.
How very existentialist of you.
Homer J. Simpson - 22 Feb 2008 20:01 GMT
>> If something doesn't exist it simply doesn't exist.
>
> How very existentialist of you.
Non-existentialist, actually...I think...therefore, I am...or maybe not.
*poof!*
Scott Roberts - 22 Feb 2008 20:29 GMT
>>> If something doesn't exist it simply doesn't exist.
>>
>> How very existentialist of you.
>
> Non-existentialist, actually...I think...therefore, I am...or maybe not.
> *poof!*
Someone like Descartes (who turned the phrase "I think, therefore I am")
would say that just because you perceive the file/directory to exist doesn't
mean that it actually *does* exist. Similarly, the fact that you don't
perceive it to exist does not necessarily mean that it does not.
To state definitively that something exists (or doesn't exist) is decidedly
Existentialist. :)