Skip to content

Instantly share code, notes, and snippets.

@10sr
Created February 10, 2010 12:39
Show Gist options
  • Select an option

  • Save 10sr/300269 to your computer and use it in GitHub Desktop.

Select an option

Save 10sr/300269 to your computer and use it in GitHub Desktop.
フォルダを受け取ってサブフォルダ含めファイルのリストを出すahk
rootdir = %1% ;例えば引数からとる
files =
SetWorkingDir, %rootdir%
Loop, *.* , 0 , 1
files = %files% "%A_LoopFileLongPath%" %A_Space% ;ここを変えれば区切りを変えれる。例えば`nとか
msgbox,%files% ;%files%に出力
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment