• XP_FileExist

    The usage is:

    EXEC xp_fileexist <filename> [, <file_exists INT> OUTPUT]

    If executed without providing an output variable, it will display 3 columns indicating whether the table passed exists, whether it is a directory, and if the parent directory exists.

    Do you mean "indicating whether the file passed exists" ?