မိဘမဲ့ကေလးမ်ားကူညီေထာက္ပံ့ေရးအဖြဲ႔
OrphanCareGroup(OCG) ဖုိရမ္ေလးမွေႏြးေထြးစြာႀကိဳဆုိပါ၏


restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရေအာင္

View previous topic View next topic Go down

အမွတ္အသားျပဳထားမည္ restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရေအာင္

Post by Guest on Sat 24 Apr 2010, 02:24

ေအာက္က အနီနဲ႔ ေရးထားတဲ႔ command ေလးေတြကိုကူးျပီး file extension ကို .bat နဲ႔ မွတ္လိုက္ပါ ... ျပီးရင္ run ျပီး Yes / No ေပးျပီး shutdown ဒါမွ မဟုတ္ restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရတာေပါ႔

@echo off
cls
echo Do you want to SHUT DOWN or RESTART your computer?? (Y / N)
set/p "cho=>"
if %cho%== Y goto Chose
if %cho%== y goto Chose
if %cho%==N goto End
if %cho%==n goto End
echo Inviled choice
:Chose
cls
echo Shutdown (S) or Restart (R) !!!!!
echo Press ( S / R )
set/p "cho=>"
if %cho%== S goto Shut
if %cho%== s goto Shut
if %cho%==R goto Rs
if %cho%==r goto Rs
echo Invalid choice.
:Shut
cls
echo Are you sure want to shut down your computer??(Y/N)
set/p "cho=>"
if %cho%==Y goto Shutdown
if %cho%==y goto Shutdown
if %cho%==N goto End
if %cho%==n goto End
echo Invalid choice.
:Shutdown
shutdown -s -t 0000
goto End
:Rs
cls
echo Are you sure want to restart your computer??(Y/N)
set/p "cho=>"
if %cho%==Y goto Restart
if %cho%==y goto Restart
if %cho%==N goto End
if %cho%==n goto End
echo Invalid choice.
:Restart
shutdown -r -t 0000
goto End
:End

Guest
Guest


Back to top Go down

အမွတ္အသားျပဳထားမည္ Re: restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရေအာင္

Post by doublehouse on Mon 26 Apr 2010, 18:05

ညီေတာ္ဒါေလးကဘာလဲဟင္..အဲ့လိုလုပ္လိုက္ရင္ဘာျဖစ္သြားမွာရဲဟင္..ကြန္ပ်ဴတာေတာ့ဘာမွမျဖစ္ေလာက္ပါဘူးေနာ္...စမ္းေတာ့စမ္းၾကည့္ခ်င္တယ္
ေၾကာက္လို့ေလ...ကြန္ပ်ဴတာကျပင္ထားတာသိပ္မၾကာေသးေတာ့... ခစ္ခစ္ ခစ္ခစ္

doublehouse
ေလ့လာသူအဆင့္
ေလ့လာသူအဆင့္

Posts : 16
Join date : 2010-04-25

Back to top Go down

အမွတ္အသားျပဳထားမည္ Re: restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရေအာင္

Post by Guest on Tue 27 Apr 2010, 00:45

ဘာမွမျဖစ္ဘူးစိတ္ခ်
အကိုေတာ္ေရ ကၽြန္ေတာ္စမ္းျပီးသြားျပီ

Guest
Guest


Back to top Go down

အမွတ္အသားျပဳထားမည္ Re: restart ကို ဆန္းဆန္းေလး ခ်ၾကည္႔ရေအာင္

Post by Sponsored content Today at 23:36


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum