Juno_okyo

Get all filenames

Jul 31st, 2017
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.94 KB | None | 0 0
  1. ; Developed by Juno_okyo
  2. #NoTrayIcon
  3. #Region AutoIt3Wrapper directives section
  4. #AutoIt3Wrapper_Icon=juno_okyo.ico
  5. #AutoIt3Wrapper_Compression=4
  6. #AutoIt3Wrapper_UseUpx=Y
  7. #AutoIt3Wrapper_Res_Comment=Developed by Juno_okyo
  8. #AutoIt3Wrapper_Res_Description=Developed by Juno_okyo
  9. #AutoIt3Wrapper_Res_Fileversion=1.0.0.2
  10. #AutoIt3Wrapper_Res_FileVersion_AutoIncrement=Y
  11. #AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
  12. #AutoIt3Wrapper_Res_LegalCopyright=(C) 2017 Juno_okyo. All rights reserved.
  13. #AutoIt3Wrapper_Res_Field=CompanyName|J2TeaM
  14. #AutoIt3Wrapper_Res_Field=Website|https://junookyo.blogspot.com/
  15. #EndRegion AutoIt3Wrapper directives section
  16.  
  17. #include <File.au3>
  18. #include <Array.au3>
  19.  
  20. Global $files = _FileListToArray(@ScriptDir, '*', 1)
  21. Global $results = ''
  22. _ArrayDelete($files, 0)
  23.  
  24. For $file In $files
  25.     If $file <> @ScriptName Then
  26.         $results &= $file & @CRLF
  27.     EndIf
  28. Next
  29.  
  30. ClipPut($results)
  31. MsgBox(64 + 262144, 'Message', 'Done!')
Add Comment
Please, Sign In to add comment