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 ေယာက္ကဒီလုိေၿပာၾကတယ္