Announcement

Collapse
No announcement yet.

unable to find file!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • skynet1
    replied
    Thank you sir!

    Leave a comment:


  • Imagine Programming
    replied
    Please read the manual on File.Find. The first argument has to be a directory, the second argument needs to be a filename or searchpattern. File.Find also returns a table when it finds one or more files, and nil when it finds nothing.

    Code:
    found = File.Find("c:\\pass\\", "info.txt", false, false, nil, nil);
    if (found ~= nil) then
    	Dialog.Message("info", "found" , MB_OK);
    end

    Leave a comment:


  • skynet1
    started a topic unable to find file!

    unable to find file!

    i am unable to find file.

    please see my code below. ON PRELOAD OF PAGE

    found = File.Find("c:\\pass\\info.txt", false, false, nil, nil);
    if (found == true) then
    Dialog.Message("info", "found" , MB_OK);
    end


    thank you!
Working...
X
😀
🥰
🤢
😎
😡
👍
👎