如题所述
Not find file!
中文翻译:找不到文件;未找到文件
[例句]
The if statement acts as simple error control, exiting our script if it does not find the file with a somewhat graceful error for our users.
if语句将用作简单的错误控制,如果由于用户的小失误而导致它未找到文件,则退出脚本。
中文翻译:找不到文件,没有找到文件。findFile查找包含字符串的文件,并列出该字符串在该文件所在的列。not find说明是没有找到该文件。
一般这种情况的提示发生在编码时候,需要调用文件信息的时候。
第一个参数:要查找的字符串。系统的find命令并不会在子目录中查找,而findFile会在子目录中查找
第二个参数:查找字符串的文件。支持正规表达是。findFile只会列出包含字符串的文件,而系统的find命令还会列出没有包含字符串的文件。
例句:System.IO.FileNotFoundException: Could not find file.
问题提出:I know that it has been discussed before. I have been looking through the forums, but could not find the exact answer to this error. So, I am trying to open a Deck.txt file with some user info from the script. I have created the file manually, and am not trying to read it.