Microsoft VBScript runtime error: Input past end of file error

前端 未结 2 1536
心在旅途
心在旅途 2021-01-27 09:21

I am getting this error:

\"C:\\se2.vbs(28, 6) Microsoft VBScript runtime error: Input past end of file\"

when I run my script (I italicized LINE

2条回答
  •  滥情空心
    2021-01-27 09:49

    I found out the problem. The error occurred when the script searched for a string in a BLANK TEXT FILE. I tried adding this:

    IF oFSO.GetFile(path).size <> 0 then    
    
        'Process text file then search for string.
    
    END IF
    

提交回复
热议问题