2

Which sentence is correct?

The directory is not exist

OR

The directory does not exist

This message informs a user about a folder he or she is trying to access.

10

The correct negation is:

The directory does not exist.

Here, do functions as an auxiliary for emphasis/negation. Consider the positive form of the sentence where do is optional:

The directory does exist / The directory exists

It should be clearer here that is is not appropriate:

The directory is exist (?)

Also, note that whenever be is used as an auxiliary, it precedes participles and infinitives. Hence, the following examples are grammatical:

  • ... the directory is to exist
  • the directory is existing
  • 1
    "The directory exist" is incorrect. I'd say "The directory exists" (s on the end of exist). So I don't think your second quoted sentence works (either as "The directory [does] exist" or "The directory [does] exists". – Peter K. Jun 21 '11 at 17:47
  • 1
    @Peter K. Totally correct. I didn't notice that at all. Will edit right away. – Jimi Oke Jun 22 '11 at 8:29
3

The directory does not exist.

1

Of your two examples, the correct sentence is

The directory does not exist.

However, given your context, that is likely not very helpful to your user.

A more appropriate response would be to reference the folder directly:

This directory does not exist.

or

The directory you are trying to access does not exist.

1

The second one is correct.

The directory does not exist.

  • 1
    Your overall answer is correct but you introduced more errors by capitalizing the word dictionary and using the wrong tense for the verb. It should be just "exist" without the 's'. – Caleb Jun 14 '11 at 13:14
  • Aah. Apologies about that . Its now corrected – daehaai Jun 14 '11 at 14:39
  • I removed my downvote, but other folks have long since beaten you to the punch with the right answer with good explanations. Also it's a little confusing that you switched the vocabulary of the example from "directory" to "dictionary". Just something to keep in mind as you answer questions :) Thanks for participating. – Caleb Jun 14 '11 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.