在文件夹上,
1:按住Shift Key,右键点击文件夹名称,选择“在此打开命令窗口”。
2:切换到英文输入法下(只说一遍,英文输入法),输入 dir /b>filenames.txt .然后按Enter键确认。filenames 及你需要的文件名,比如需要list2 则改为 dir /b>list2.txt
3:回到文件夹内,则已建立一个包含所有文件名称的文件。如右图所示。
In MS Windows it works like this:
1. Hold the "Shift" key, right-click the folder containing the files and select "Open Command Window Here."
2. Type "dir /b > filenames.txt" (without quotation marks) in the Command Window. Press "Enter."
3. Inside the folder there should now be a file filenames.txt containing names of all the files etc. inside this folder.