尋找 file list 軟件

想將某 folder 入面所有檔案 list 一個純文字清單
但係用 dir 指令 ,日文全部亂碼
唯有搵軟件用 . ..printfolder 唔支援 unicode

有冇 ching 幫到我呢

本帖最後由 icarus-c 於 2010-1-28 23:17 編輯
  1. #!/usr/bin/env python
  2. import os
  3. for i in os.listdir("path/to/directory"): print i
複製代碼
如果你講埋exactly要做乜咁可以教埋你 (e.g. 要recursive, 寫去個text file咁)
PS. that the Python programming language's code, you need to manually install a python interpretor for Windows (the only OS that doesn't come with a python interpretor? :)  see  http://www.python.org

TOP