重新命名檔案或資料夾
與其他檔案管理器一樣,您也能使用《檔案》來更改檔案或資料夾的名稱。
要重新命名檔案或資料夾:
Right-click on the item and select Rename, or select the file and press F2.
Type the new name and press Enter or click Rename.
You can also rename a file from the properties window.
When you rename a file, only the first part of the name of the file is selected, not the file extension (the part after the last .). The extension normally denotes what type of file it is (for example, file.pdf is a PDF document), and you usually do not want to change that. If you need to change the extension as well, select the entire file name and change it.
If you renamed the wrong file, or named your file improperly, you can undo the rename. To revert the action, immediately click the menu button in the toolbar and select Undo Rename, or press Ctrl+Z, to restore the former name.
Valid characters for file names
You can use any character except the / (slash) character in file names. Some devices, however, use a file system that has more restrictions on file names. Therefore, it is a best practice to avoid the following characters in your file names: |, \, ?, *, <, ", :, >, /.
If you name a file with a . as the first character, the file will be hidden when you attempt to view it in the file manager.
常見問題
- 檔名已被使用
-
您無法將兩個檔名相同的檔案或資料夾放在同一目錄底下。若您試圖將檔案或資料夾重新命名為已存在於該目錄下的相同檔名,檔案管理器會阻止這項操作。
檔案與資料夾名稱有區分大小寫,因此檔名為「File.txt」的檔案與檔名為「FILE.txt」的檔案會被視作兩個不同的檔案。雖然不建議這樣做,但系統本身是允許的。
- 檔案名稱過長
On some file systems, file names can have no more than 255 characters in their names. This 255 character limit includes both the file name and the path to the file (for example, /home/wanda/Documents/work/business-proposals/…), so you should avoid long file and folder names where possible.
- The option to rename is grayed out
If Rename is grayed out, you do not have permission to rename the file. You should use caution with renaming such files, as renaming some protected files may cause your system to become unstable. See 設定檔案權限 for more information.