Yuav Ua Li Cas Sau Cov Ntaub Ntawv: 4 Kauj Ruam (nrog Duab)

Cov txheej txheem:

Yuav Ua Li Cas Sau Cov Ntaub Ntawv: 4 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Sau Cov Ntaub Ntawv: 4 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Sau Cov Ntaub Ntawv: 4 Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Sau Cov Ntaub Ntawv: 4 Kauj Ruam (nrog Duab)
Video: Basic Basic Cygwin and Bash 2024, Tej zaum
Anonim

Koj tuaj yeem tsim cov ntaub ntawv teev npe yam tsis siv tus neeg sau ua ke. Nov yog qhov yooj yim tshaj plaws thiab txoj kev me tshaj plaws los tsim cov ntaub ntawv teev npe hauv Windows operating systems.

Cov kauj ruam

Tsim Cov Ntawv Teev Npe Kauj Ruam 1
Tsim Cov Ntawv Teev Npe Kauj Ruam 1

Kauj Ruam 1. Qhib Notepad

Tsim Cov Ntawv Teev Npe Kauj Ruam 2
Tsim Cov Ntawv Teev Npe Kauj Ruam 2

Kauj Ruam 2. Ntxiv cov cai no rau saum kab ntawm kab ntawv:

"echo % date % % time % >> log.txt".

Tsim Cov Ntawv Teev Npe Kauj Ruam 3
Tsim Cov Ntawv Teev Npe Kauj Ruam 3

Kauj Ruam 3. Nyem "Txuag Raws Li" los ntawm cov ntawv qhia zaub mov, thiab sau koj cov npe ntawv hauv hom ntawv uas tau qhia hauv qab no

  • "Npe.bat"
  • Nco tseg: Koj yuav tsum ntaus txhua 10 tus cim ntawm kab ntawv saum toj no
  • Tom qab ntawv koj tuaj yeem hloov 4 tus cim ntawm Npe (4 tus cim ua ntej Dot)
  • Thawj thiab 5 cim kawg yuav tsum tau sau raws li nws yog
Tsim Cov Ntawv Teev Npe Kauj Ruam 4
Tsim Cov Ntawv Teev Npe Kauj Ruam 4

Kauj Ruam 4. Txuag nws hauv daim nplaub tshev uas koj xav pom cov ntawv teev npe

  • Nco tseg. Thaum twg los xij koj qhib Name.bat file (batch file) koj cov ntaub ntawv log (log.txt) yuav hloov tshiab. Nws yuav muaj cov npe hnub thiab sijhawm uas nws tau qhib.

    Lub tswv yim

    • Pib khiav koj cov ntaub ntawv batch (Npe.bat) ntawm CPU pib
    • Koj tuaj yeem siv cov ntaub ntawv saum toj no los tsim lub cav ntawm koj lub khoos phis tawj pib ua cov ntaub ntawv. Rau qhov no,
    • Koj tuaj yeem ua qhov saum toj no los ntawm

    Lus ceeb toom

    • Thaum koj tsim txoj haujlwm nws yuav ua haujlwm raws li koj qhia nws yam tsis muaj kev txwv nws tus kheej.
    • Tsis txhob hnov qab tshem tawm lub sijhawm teem ua haujlwm tom qab koj xav tau lub cav tiav lawm. Tsuas yog rho tawm cov ntawv batch thiab cov ntawv teev npe yuav tsis ntxuav koj lub computer.

Pom zoo: