Content feed Comments Feed

Batch fileအေၾကာင္းတေစ့တေစာင္း

တင္ၿပသူ Kyaw Htin Thursday 15 January 2009

Microsoft Window, DOS,OS/2တုိ႔ေပါင္းစပ္ပါ၀င္တဲ့ Text fileၿဖစ္ပါတယ္..
Command series ေတြပါ၀င္ပါတယ္...bat ဆုိတဲ့Filename extension ပါရွိပါတယ္..
Batch file ရဲ႔ အဓိပၸာယ္အၿပည့္အစုံကုိ ဒီမွာဆက္ၾကည့္ႏုိင္ပါတယ္
ဆက္လက္ၿပီး bat file နဲ႔ဘာေတြလုပ္ႏုိင္သလဲဆုိတာမ်ိဳးကုိေဆြးေႏြးပါမယ္...


@echo off
set /p _name=Enter your name:
echo Hello %_name%!.
set _name=

ဒီProgramm ကုိNotepad မွာ.bat နဲ႔သိမ္းၿပီးရုိးရွင္းတဲ့bat file ပုံစံကုိေလ့လာႏုိင္ပါတယ္..
Shutdown bat fileတစ္ခုဖန္တီးၿခင္း

c:\win32\shutdown -s -t 60 (စကၠန္႔(၆၀)အေတာအတြင္း)
c:\windows\system32\shutdown -s -f -t 00 (ခ်က္ခ်င္း Sutdownခ်တာပါ)
ေအာက္ကတဲြသုံးလုိ႔ရတဲ့ Command ေလးပါ..
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

0 ေယာက္ကဒီလုိေၿပာၾကတယ္

ဆက္သြယ္ရန္ လိပ္စာ

kyawhtinaung86@gmail.com

Advertisment

Kstar mobile

Kstar mobile
* 72/A, Min Street, San Chaung * Yangon, Burma Today 9:00 am - 8:00 pm Phone +95 9 430 93565

နည္းပညာ ေနရာေကာင္းမ်ား

လာေရာက္ေသာေဒသမ်ား

ေရးၿဖစ္သမွ် အေၾကာင္းအရာမ်ား

Myanmar Calender

Technology Forum

 

မိတ္ေဆြမ်ား၏ တင္သမွ်စာေလးေတြ

အေၾကာင္းအရာ

resent



ပုိ႔စ္အသစ္မ်ား


အၾကံေပးစာမ်ား

About Us

My Photo
Kyaw Htin
Welcome to my homepage, be always happy and receive knowledge from my blog . myozawlin85@gmail.com Thanks for visited my blog
View my complete profile
mgpyinyar