Professional Documents
Culture Documents
0
更多
下一個網誌» 建立網誌
登入
Pbice's Blog
關於我自己
2010-11-06
準棒
研究所肄業,興
用Dir指令列出Unicode檔名清單 趣是語音學和華
語教學,請多指
我原本就知道MS-DOS模式底下的dir指令可以將結果輸出成文字檔,這樣可以很方便的將所有檔案 教。
的檔名做成清單。不過,遇到Unicode檔名該如何處理?看了這篇文章〈利用 dir 將檔案總管中的目 檢視我的完整簡介
錄裏的檔名轉成文字檔〉,覺得很實用,摘記如下:
搜尋此網誌
1. 先新增一個文字檔(例如list.txt),將編碼改成Unicode。
2. 輸入cmd /u,以Unicode模式執行。
搜尋
華語教學
(20)
標籤:
電腦網路
電腦網路
(35)
語言學
(13)
語音學
(35)
數位學習
(23)
4 則留言: 轉貼文章
(4)
匿名
提到... 讀書心得
(22)
林金龍
提到... 網誌存檔
太感謝了!原來要<<才不會變成亂碼!哈哈! ▼
2010
(9)
5/25/2014 06:59:00 下午 ▼
十一月
(2)
用Dir指令列出Unicode檔
張貼留言 名清單
【讀書心得】Phonetic
Symbol Guide
►
十月
(1)
這篇文章的連結 ►
九月
(2)
Register / Login
Search
Ever had a situation where you wished you could print out a list
of all the contents of a folder or directory in Windows but
couldn’t quite find any tool which could do that. Sure, hitting
Print Screen and then pasting the contents of the clipboard
onto Paint is an option. But not a very helpful one, if you
wanted to edit the list later. Here’s a cool tip which will help you
create a text file which lists out all files and/or sub folders
within a said folder, and can be easily printed out later, should
you need to do that.
https://dottech.org/151597/how-to-print-the-contents-of-a-folder-in-windows-7-8-and-8-1-guide/[28/05/2016 19:03:48]
How to print the contents of a folder in Windows 7, 8, and 8.1 [Guide] | Reviews, news, tips, and tricks | dotTechdotTech
https://dottech.org/151597/how-to-print-the-contents-of-a-folder-in-windows-7-8-and-8-1-guide/[28/05/2016 19:03:48]
How to print the contents of a folder in Windows 7, 8, and 8.1 [Guide] | Reviews, news, tips, and tricks | dotTechdotTech
That was simple, wasn’t it? So if you ever need to print out a
list of all the files and sub-folders within a folder in Windows, it
shouldn’t take more than a few seconds to do that if you use
this tip.
Previous
Post
Next Post
https://dottech.org/151597/how-to-print-the-contents-of-a-folder-in-windows-7-8-and-8-1-guide/[28/05/2016 19:03:48]
filenames - Get bare file names recursively in command prompt - Super User
_
Super User is a question and answer site Here's how it works:
for computer enthusiasts and power
users. It's 100% free, no registration
required.
Sign up Anybody can ask Anybody can The best answers are voted
a question answer up and rise to the top
I ran into a little snag trying to get only the filenames (no extensions or file paths) recursively.This
worked for me in the root folder:
11
dir /b
But when i added /s to scan recursively i also got file paths before filenames which i do not want.
Is there a way to get bare filenames from all subfolders in a directory?
1
Im on Windows 7 x64 I'd rather use regular command prompt not PS or VBS
Linked
TMRW
469 3 11 22 10
How do I recursively list filenames (only) in
add a comment DOS/Windows?
Related
2 Answers active oldest votes
5
Replace spaces in file names from cmd line unix
2
Use the following command: Recursively renaming .foo files based on name of
accompanying .bar file in multiple folders in
9 dir /b /a /s Windows 7?
If you need to save the output to a file, you can use: Windows explorer sees different file name from
cmd
dir /b /a /s >> list_of_names.txt
2
EDIT Actually the above solution doesn't reach the original question's goals. One thing I did notice Escaping %’s in file-/folder-names at the
command-line
from the question is that the post asks for recursive listing. which the other answer lacks so I think
adding "/s" in the other answerer's answer will do the trick 0
http://superuser.com/questions/294099/get-bare-file-names-recursively-in-command-prompt[28/05/2016 19:34:52]
filenames - Get bare file names recursively in command prompt - Super User
0
Nik So How to organize files in accordingly named
301 3 10 directories from command line under Linux
0
How can I list all files recursively that have the
Could you explain this? To me it makes little sense. – Simon Sheehan Nov 8 '11 at 23:27
compressed attribute set?
This doesn't work, /a doesn't work like that - it's a filter for which type of files you want to list. It doesn't strip
0
the path from the filename when doing a recursive directory listing. – 8088 Nov 9 '11 at 2:28
How to export File Names (Only Image Files) from
edited the answer; and just got my hands on a windows box again, I think this time should do it (win732bit) various location or directory into a text file
– Nik So Nov 9 '11 at 5:27
Hot Network Questions
add a comment
Where does a javascript closure live?
More information on how for works and what it's doing, type for /? How did Darth Vader know the rebel base was on
Hoth?
share improve this answer Requesting All Student's Grades From Professor
edited Jan 22 '13 at 20:43 answered Jun 7 '11 at 16:18
Largest Bitcoin transaction fee ever paid?
http://superuser.com/questions/294099/get-bare-file-names-recursively-in-command-prompt[28/05/2016 19:34:52]
在開啟及儲存檔案時選擇文字編碼方式 - Word
登入
支援
在開啟及儲存檔案時選擇文字編碼
方式
適用對象: Word 2016, Word 2013, Word 2010
一般而言,您可以直接共用文字檔,而不需考慮文字的儲存方式這種基本的細節。不過,如果您要和
使用其他語言的人共用文字檔、透過網際網路下載文字檔,或是和其他電腦系統共用文字檔,您可能
需要在開啟或儲存檔案時選擇編碼標準。
您想要做什麼?
了解文字編碼方式
開啟檔案時選擇編碼標準
儲存檔案時選擇編碼標準
查詢 Word 中可用的編碼標準
了解文字編碼方式
您在螢幕上看到的文字,實際上是以數值方式儲存在文字檔中。電腦會將這些數值轉譯成有形的字
元,它是利用編碼標準來進行轉譯。
編碼標準是一種數字配置,會指定數值給字元集中的每一個文字字元。字元集可以包含字母字元、數
字及其他符號。不同語言通常是由不同字元集構成,因此會有很多不同的編碼標準存在,用於呈現不
同語言所用的字元集。
不同字母系統使用不同的編碼標準
隨附文字檔一起儲存的編碼標準會提供電腦在螢幕上顯示文字所需的資訊。例如,在斯拉夫文
(Windows) 的編碼方式中,Й 這個字元的數值是 201。當您在使用斯拉夫文 (Windows) 編碼方式的電
腦上開啟含有這個字元的檔案時,電腦會讀取 201 這個數值,然後在螢幕上顯示 Й。
不過,如果您在使用不同編碼方式的電腦上開啟同一個檔案,電腦就會顯示它預設使用的編碼標準中
201 這個數值所對應的任何字元。例如,如果電腦是使用西歐 (Windows) 編碼標準,原本斯拉夫文檔
案中的那個字元就會顯示為 É,而不是 Й,因為在西歐 (Windows) 的編碼方式中,201 這個值是對應
到 É。
Unicode:適用於許多字母系統的編碼標準
若要避免發生編碼及解碼文字檔的問題,您可以使用 Unicode 編碼方式儲存檔案。Unicode 適用於現
今電腦使用者常用的所有語言的大部分字元集。
頁面頂端
選擇開啟檔案時的編碼標準
2. 按一下 [選項]。
3. 按一下 [進階]。
5. 關閉再重新開啟檔案。
如果幾乎所有文字看起來都一個樣 (例如,都是方塊或都是句號),可能是沒有安裝顯示字元所需的字
型。如果沒有需要的字型,您可以安裝其他字型。
若要安裝其他字型,請執行下列動作:
2. 請執行下列其中一項操作:
在 Windows 7 中
在 Windows Vista 中
在 Microsoft Windows XP 中
5. 選取您需要的字型集,按一下您選取的項目旁邊的箭號,然後選取 [從我的電腦執行]。
頁面頂端
儲存檔案時選擇編碼標準
如果您選擇的編碼標準不支援檔案中所使用的字元,Word 會以紅色標示它無法儲存的字元。您可以
在儲存檔案之前,先預覽以您選擇的編碼標準進行編碼的文字。
以編碼文字方式儲存檔案時,會從檔案中移除以符號字型或以功能變數代碼格式化的文字。
選擇編碼標準
2. 按一下 [另存新檔]。
如果您要將檔案儲存在其他資料夾中,請找出並開啟那個資料夾。
3. 在 [檔案名稱] 方塊中,輸入檔案的新名稱。
5. 按一下 [儲存]。
7. 在 [檔案轉換] 對話方塊中,選取您要使用的編碼標準選項:
若要選擇特定編碼標準,按一下 [其他編碼方式],然後從清單中選取您要的編碼標準。您可
以在 [預覽] 區域中預覽文字,檢查使用您選取的編碼標準的所有文字是否可讀。
8. 如果收到訊息,指出「紅色標示的文字將不會以選擇的編碼方式正確地儲存」,您可以試著選
擇其他編碼方式,或是選取 [允許字元替代] 核取方塊。
當您允許字元替代時,Word 會以您選擇的編碼方式中最接近的對等字元來取代無法顯示的字
元。例如,會以三個點取代省略符號、以雙引號取代大括號。
如果紅色標示的字元在您選擇的編碼方式中沒有對等的字元,紅色標示的字元就會儲存為與內
容無關的字元,例如引號。
9. 如果文件會在不自動換列的程式中開啟,您可以在文件中加入強制分行符號:只需選取 [插入分
行符號] 核取方塊,然後在 [行尾字元] 方塊中指定是要以輸入鍵符號 (CR)、換行字元 (LF) 或兩者
來描述分行符號。
頁面頂端
查詢 Word 中可用的編碼標準
Word 可以辨識好幾種編碼標準,並且支援電腦系統軟體所提供的編碼標準。
下列文字系統清單將列出與每一種文字系統相關聯的編碼標準 (也稱為字碼頁)。
拉文
附註:
支援僅限於尼泊爾文、阿薩姆文、孟加拉文、古吉拉特文、馬來亞拉姆文及歐利亞文。
頁面頂端