++++++++++++++++++++++++++++++++++++++
window key +Rနိပ္ပါ notepad လို႔ရိုက္ပါ
notepad က်လာရင္ ေအာက္ဆံုးကcode ေတြcopy ကူးျပီး notepad ထဲထည့္ေပးလိုက္ပါ
file>save as >name မွာ check.bat လို႕နာမ္မည္ေပးပါ
save as type မွာ all file ကိုေရြးေပးပါ
desktop ေပၚမွာ ပဲ save လိုက္ပါ
ျပီးရင္double clickေပးျပီးေအာက္ပါအတိုင္းအသံုးျပဳပါဗ်ာ
ဒါေလးက တစ္ပတ္တစ္ခါ လုပ္သင့္တဲ့ check ,defrag နဲ computer ကုိ scan လုပ္မွာပါ
Drive C D E F ၄ခုတြက္ပဲ လုပ္ထားေပးတယ္
ဥပမာ
C drive ကို defrag လုပ္မယ္ဆိုရင္D(Capital latter ရိုက္ေပးပါ)လိုံ၇ိုက္ျပီးအန္းတားေခါက္လိုက္ပါ
ျပီးတာနဲ႕defrag နဲ႕ analysis လုပ္ပါလိမ့္မယ္ ျပီးရင္ေတာ့ဘေလာ့ပြင့္သြားပါလိမ့္မယ္
ျပီးရင္check လုပ္ဖို႕ ေျပာပါလိမ့္မယ္
check လုပ္မယ္ဆိုရင္ checkလို႕ရိုက္ပီးအနး္းတားေခါက္ေပးလိုက္ပါ
အဆို check လုပ္ပါလိမ့္မယ္
္(window တင္ထားတဲ့ drive ကို check လုပ္မယ္ဆိုရင္ Y/Nနဲ့check လုပ္မလားေမးပါမယ္ Yနိပ္ပီးအန္းတားေခါက္ပါ restart ခ်ျပီးျပ္န္တက္မွ အနက္ေ၇ာင္screen နဲ႕ check လုပ္ပါလိမ့္မ.္ မလုပ္ခ်င္ရင္ N ရိုက္ပီးအန္းတားေခါက္ပါ)
ဥဥ ကိုကို မမ ေဒၚေဒၚတို႔ရဲ႕ memory stick က ိုလည္းလုပ္လို႕ရတယ္ ေနာ္
stick ရဲ႕ Drive နာမ္မည္ကို ရိုက္ထည့္ပီးအန္းတားေခါက္ေပါ့
computer ကို scan လုပ္တာကေတာ့
cmd မွာ sfc /scannow ကိုအေျခခံထားတာပါ
ွS(Capital Latter)ရိုက္ျပီးအန္းတားေခါက္ပါ
error တစ္စံုတစ္ရာရွိရင္လက္တို႕လိုက္ဦးေနာ္
က်ေတာ္ေတာ့အတက္နိုင္ဆံုးerror ကင္းေအာင္ေရးေပးထားပါတယ္
code ေတြကိုျပန္ျပင္ျပီးျကိုက္တဲ့နည္းနဲ႕share နိုင္ပါတယ္ခင္ဗ်ာ
code ေတြက ေအာက္မွာပါ
@echo off
title Check and Defrag Program(Yat Sauk Tar Lay)
:Chitlay
color 0A
echo Check and Defrag Program(Yat Sauk Tar Lay)
echo +++++++++++++++++++++++++
echo.
echo.
echo This Program Will Check and defrag your Drive C: , D: , E:, F: in Computer.
echo.
echo.
echo.
echo.
echo If you want to check and defrag your Drive C: ,Type C and press enter.
echo.
echo If you want to check and defrag your Drive D: ,Type D and press enter.
echo.
echo If you want to check and defrag your Drive E: ,Type E and press enter.
echo.
echo If you want to check and defrag your Drive F: ,Type F and press enter.
echo.
echo.
echo ===========================================
echo + Type S ,if you Scan your computer. +
echo ===========================================
:Myo
echo Type you want:
echo.
echo.
set /p yst=
if %yst%==C goto one
if %yst%==D goto two
if %yst%==E goto three
if %yst%==F goto four
if %yst%==S goto Five
echo Please Type Real Drive Latter in D , E , E , F.
echo.
echo.
echo.
goto :Myo
:one
defrag :C\mountpoint
defrag /a /v /u C:
start http://yatsauktarlay.blogspot.com/?m=1
echo.
echo.
echo.
echo =========================================================
echo.
echo.
echo.
echo If you want to check Drive Type check and press enter and
echo.
echo if don't make this press N and press enter.
:thant
set /p myo=
if %myo%==check goto lo
if %myo%==N goto :Chitlay
echo Type you want:
:lo
chkdsk /f /v /r C:
start http://yatsauktarlay.blogspot.com/?m=1
goto :Chitlay
:two
defrag :D\mountpoint
defrag /a /v /u D:
start http://yatsauktarlay.blogspot.com/?m=1
echo.
echo.
echo.
echo =========================================================
echo.
echo.
echo.
echo If you want to check Drive Type check and press enter and
echo.
echo if don't make this press N and press enter.
:thant
set /p myo=
if %myo%==check goto le
if %myo%==N goto Chitlay
echo Type you want:
:le
chkdsk /f /v /r D:
start http://yatsauktarlay.blogspot.com/?m=1
goto :Chitlay
:three
defrag :E\mountpoint
defrag /a /v /u E:
start http://yatsauktarlay.blogspot.com/?m=1
echo.
echo.
echo.
echo =========================================================
echo.
echo.
echo.
echo If you want to check Drive Type check and press enter and
echo.
echo if don't make this press N and press enter.
:thant
set /p myo=
if %myo%==check goto mi
if %myo%==N goto Chitlay
echo Type you want:
:mi
chkdsk /f /v /r E:
start http://yatsauktarlay.blogspot.com/?m=1
goto :Chitlay
:four
defrag :F\mountpoint
defrag /a /v /u F:
start http://yatsauktarlay.blogspot.com/?m=1
echo.
echo.
echo.
echo =========================================================
echo.
echo.
echo.
echo If you want to check Drive Type check and press enter and
echo.
echo if don't make this press N and press enter.
:thant
set /p myo=
if %myo%==check goto so
if %myo%==N goto Chitlay
echo Type you want:
:so
chkdsk /f /v /r F:
start http://yatsauktarlay.blogspot.com/?m=1
goto :Chitlay
:Five
sfc /SCANNOW
start http://yatsauktarlay.blogspot.com/?m=1
goto :Chitlay
အထက္ေဖာ္ျပ အေၾကာင္းအရာမ်ားကုိ အေသးစိတ္ သိရွိလိုပါက https://www.facebook.com/chitlay84 သုိ႔ ဆက္သြယ္ ေမးျမန္းႏုိင္ပါတယ္ ခင္ဗ်ာ။