Advertisement
phamchin

File_finding

Aug 11th, 2022
2,090
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. getdir dir
  2.  
  3. Post_booter = '\imagefile(220623)\postbooter.rt4427-40a.0.220623.114807.pdms'
  4. strinsert Post_booter 1 dir
  5. filesearch Post_booter
  6. if result=0 then
  7.     messagebox Post_booter 'Not found'
  8.     end
  9. endif
  10.  
  11. Posysystem = '\imagefile(220727)\postsystem.rt4427-40a.0'
  12. strinsert Posysystem 1 dir
  13. filesearch Posysystem
  14. if result=0 then
  15.     messagebox Posysystem 'Not found'
  16.     end
  17. endif
  18.  
  19. DFPGA = '\imagefile(220804)\postbooter.rt4427-40a.0.220623.114807.pdms'
  20. strinsert DFPGA 1 dir
  21. filesearch DFPGA
  22. if result=0 then
  23.     messagebox DFPGA 'Not found'
  24.     end
  25. endif
  26.  
  27. messagebox "Finished" "File search"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement