Advertisement
tabnation

loop all files and folders

Dec 12th, 2022
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. F1::
  2. ;send ^c
  3. clipboard =
  4. ;InputBox clipboard, File Name
  5. loop Files, % "c:\" clipboard "*", D
  6. {
  7. msgbox % A_LoopFileLongPath
  8. if A_LoopFileLongPath contains AMD
  9. {
  10. msgbox, Found it
  11. ;Run % A_LoopFileLongPath
  12. break
  13. }
  14. }
  15. msgbox, all done boss
  16. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement