Yuav Paub
- Qhib File Explorer, mus rau ib daim ntawv tais ceev tseg, xaiv View > Details, xaiv tag nrho cov ntaub ntawv, xaiv Home > Rename, sau npe cov ntaub ntawv, thiab nias Enter.
- In Windows PowerShell, mus rau ib daim ntawv tais ceev tseg, nkag mus dir | rename-yam -NewName {$_.name -replace “Kuv”, “Peb”} thiab nias Enter.
- Using Command Prompt, mus rau ib daim ntawv tais ceev tseg, nkag mus ren. ????????????-filename.jpg thiab niasEnter.
Kab lus no piav qhia yuav ua li cas batch rename cov ntaub ntawv hauv Windows. Cov lus qhia siv rau Windows 10.
Batch Rename Files hauv Windows 10 Siv Cov Ntaub Ntawv Explorer
Renaming a file on Windows 10 is simple. Koj tsuas yog right-click thiab xaiv Rename. Tab sis ua qhov no rau ob peb lub kaum los yog ob peb puas cov ntaub ntawv tau tedious. Ua tsaug, nws yooj yim rau batch rename cov ntaub ntawv hauv Windows 10 siv File Explorer, PowerShell, lossis Command Prompt.
Yog tias koj muaj batch ntawm cov duab lossis lwm cov ntaub ntawv uas sib koom ua ke, koj tuaj yeem hloov npe txhua cov ntaub ntawv los siv tib cov ntaub ntawv yooj yim.
Piv txwv li, koj tuaj yeem hloov npe tag nrho koj cov duab Disney World so ntawm 2019 mus rau 'Disneyworld Vacation Photos 2019.' Thaum koj batch rename cov ntaub ntawv hauv Windows 10 siv File Explorer (tseem hu ua File Manager), txhua cov ntaub ntawv tau txais lub npe tshiab nrog tus lej kawg, xws li (1), (2), thiab lwm yam.
-
Qhib File Explorer thiab mus rau lub nplaub tshev uas muaj tag nrho cov ntaub ntawv koj xav hloov npe.
-
Xaiv View > Details in the Layout pab pawg hauv ribbon. Qhov no tso cai rau koj saib tag nrho cov npe ntawm cov ntaub ntawv rau txhua cov ntaub ntawv hauv daim nplaub tshev.
-
Xaiv tag nrho cov ntaub ntawv hauv daim nplaub tshev los ntawm kev xaiv thawj cov ntaub ntawv, tuav lub Shift, thiab xaiv cov ntaub ntawv kawg. Lossis koj tuaj yeem xaiv Ctrl+A txhawm rau xaiv txhua cov ntaub ntawv ib yam.
-
Xaiv Home > Rename from the Organize pab pawg hauv ribbon. Qhov no yuav hloov thawj cov ntaub ntawv mus rau ib daim teb kom koj tuaj yeem ntaus lub npe tshiab cov ntaub ntawv. Ntaus lub npe cov ntaub ntawv uas koj xav siv los hloov npe tag nrho cov ntaub ntawv.
-
Thaum koj nias Enter, koj yuav pom tag nrho lwm cov ntaub ntawv xaiv tau txais tib lub npe nrog tus lej kawg kom sib txawv txhua cov ntaub ntawv.
Siv File Explorer rau batch rename cov ntaub ntawv hauv Windows 10 tsuas yog nrawm npaum li kev hloov npe rau ib cov ntaub ntawv, nrog rau ob peb lub clicks ntxiv.
Yog tias koj ntaus lub npe yuam kev lossis hloov koj lub siab txog kev hloov npe tag nrho cov ntaub ntawv, koj tuaj yeem nias Ctrl+Z txhawm rau tshem tawm koj qhov kev hloov npe kawg.
Batch Rename Ntau Cov Ntaub Ntawv Nrog PowerShell
Yog tias koj xav siv cov cuab yeej kab hais kom hloov npe tag nrho koj cov ntaub ntawv, PowerShell yog ib qho cuab yeej zoo heev.
Siv cov piv txwv kawg, koj tuaj yeem siv PowerShell los hloov npe tag nrho cov ntaub ntawv kom thawj lo lus ntawm cov ntaub ntawv npe yog "Peb" es tsis yog "Kuv".
-
Xaiv Start menu, ntaus Powershell, thiab xaiv Windows PowerShell txhawm rau qhib lub app.
-
Niag mus rau phau ntawv teev npe uas koj cov ntaub ntawv khaws cia los ntawm kev siv cd hais kom mus rau cov folders.
-
Thaum koj nyob rau hauv qhov tseeb directory, ntaus cov lus txib:
dir | rename-yam -NewName {$_.name -replace "Kuv", "Peb"}
Cia li nias Enter.
-
Yuav ua li cas cov kev txwv rau qhov haujlwm no ua haujlwm:
- Dir: Xa tag nrho cov ntaub ntawv hauv daim nplaub tshev mus rau rename-yam hais kom ua
- rename-khoom: PowerShell hais kom hloov npe cov ntaub ntawv
- $_.name: Symbolizes txhua cov ntaub ntawv raug hloov
- - replace: Qhia PowerShell tias qhov kev txiav txim ua rau txhua cov ntaub ntawv yog hloov lub npe
- "Kuv", "Peb": Thawj lo lus hauv nqe lus yog lo lus hauv txhua lub npe los hloov, thiab lo lus thib ob yog qhov koj xav hloov nrog
Cov lus txib Dir hauv PowerShell muaj ntau txoj haujlwm.
Lub rename-yam hais kom ua nyob rau hauv PowerShell muaj lwm yam syntax koj siv tau. Piv txwv li nram qab no rename-khoom nrog "$_"Preface - $_" yuav ntxiv "Preface - " rau pem hauv ntej ntawm txhua lub npe.
-
Thaum cov lus txib ua tiav, koj yuav pom tag nrho koj cov ntaub ntawv tau raug hloov npe raws li koj tau teev tseg.
Batch Rename Ntau Cov Ntaub Ntawv Nrog Cov Lus Qhia
Koj tseem tuaj yeem hloov npe ntau cov ntaub ntawv siv cov lus txib kom sai thiab ? (cov lus nug cim) wildcard.
-
Xaiv cov lus txib thiab mus rau lub nplaub tshev uas koj cov ntaub ntawv khaws cia.
-
Type the command
ren. ????????????- Vacation.jpg
Cia li nias Enter.
-
Tam sim no koj yuav pom tag nrho cov ntaub ntawv tau hloov npe, khaws thawj 12 lub cim tseem ceeb ntawm lub npe ntawm cov ntaub ntawv thiab ntxiv "-Vacation" thaum kawg.
- Siv cov lus txib yog ib txoj hauv kev yooj yim los hloov npe cov ntaub ntawv sai sai, khaws ib feem ntawm cov ntaub ntawv npe thaum ntxiv qee yam piav qhia thaum kawg.
Txawm tias koj xaiv batch rename cov ntaub ntawv hauv Windows 10 siv File Explorer, PowerShell, lossis Command Prompt tiag tiag nyob ntawm cov npe ntawm cov ntaub ntawv qub thiab koj xav hloov lawv li cas.