Banner 468

DOS အသံုးျပဳနည္းေလးပါ

Posted by helperetelegram on - -



က်ေနာ္တို႔ ကြန္ပ်ဴတာ စသင္တုန္းက ေဒါ့ေဒါ့နဲ႔ အသံုးျပဳခဲ့ႀကတာ ကို မွတ္မိပါေသးတယ္။ အခု အဲ့ဒီ dos ေလးေတြကို ျပန္လည္ စုစည္းတင္ျပလိုက္ပါတယ္.....။ 
DOS – Commands for Common Use
1. DIR Command
C:\>dir – Drives (or) Partations ေတြမွာရွိတဲ႔ Folder နဲ႔ Files ေတြကိုၾကည့္တာ။
Drive c:\> ကေန Drive d:\> ကိုသြားခ်င္ရင္ C:\>d: (D:\>_)
Drive d:\>ကေန Drive c:\>ကိုသြားခ်င္ရင္ D:\>c: (C:\>_)
C:\>dir – C: Drive မွာရွိတဲ႔ Folder နဲ႔ Files ေတြကိုၾကည့္တာ။
C:\>dira* C: Drive မွာရွိတဲ႔ “a” နဲ႔ စတာေတြအားလံုးကိုၾကည့္တာ။
C:\>dir/ah C: Drive မွာရွိတဲ႔ hidden files and folders ေတြကိုၾကည္႔တာ
C:\>dir/a Display files with specified attributes.
/ad d-directories
/aa a-files ready for archiving.
/as s-system files
/ar r-read-only files
/ah h-hidden files
C:\>dir/p Pauses after each screenful of informations.
C:\>dir/o list by files in sorted order.
n-by name (alphabetic)
e-by extension (alphabetic)
s-by size (smallest first)
g-group directories first
d-by date/time (oldest first)
C:\>dir/w Uses wide list format. Note-[Folder]
2.MD Command (Making Directories) – Folder ျပဳလုပ္ျခင္း
C:\>md{folder name}
C:\>mdmyroom (C:Drive မွာ myroom ဆိုတ႔ဲအခန္း (folder) လုပ္ၿပီးသာြ းၿပီ
ရွိမရွိ DIR Command နဲ႔ ျပန္ၾကည့္)
3.CD (Change Directories) – Folder ထဲ၀င္ျခင္း
C:\>cd{၀င္ခ်င္တဲ႔ Folder name}
C:\>cdmyroom C:\myroom>_
4.Creating A Text File.
C:\myroom>copycon{filename.txt}(.txt) ဆိုတာစာေရးထားတဲ႔ file
မွန္းသိေအာင္လို႔ (.txt) ဆိုတဲ႔ file extension ထည္႔ထားတာျဖစ္တယ္။
C:\myroom>copyconmy.txt
ေရးခ်င္တဲ႔စာေရး
ၿပီးရင္ Ctrl+z
report 1files copied ဆိုရင္ OK!
C:\myroom>my.txt ရွိမရွိ DIR Command နဲ႔ၾကည့္ ။
5.Display Text Files (Type Command)
Type {File name}
C:\myroom>type my.txt
6.Edit Text Files & Other Files (Edit Command)
C:\myroom>edit my.txt (Command Windows တခုေပၚလာမယ္ ျပင္ခ်င္တာျပင္)
ၿပီးရင္ Alt+F Save, Alt+F Exit (Type နဲ႔ျပန္စစ္ၾကည့္ ျပင္လို႔ရမရ)
7.Copying Files (Copy Command)
Type A - Destination Folder တစ္ခုလုပ္ထားရမယ္. (or) Paste
လုပ္မဲ႔ေနရာလုပ္ထားရမယ္။
Drive:\>copy{Source}{Destination}
Type B – Direct Copy (Xcopy Command)
Drive:\>Xcopy{Source}{Destination}(ကိုယ္ထားခ်င္တဲ႔ေနရာနဲ႔ file (or)
folder name ကိုတခါတည္းေပး။
Note; Directory အေနန႔ကဲ ူးခ်င္ရင္  D
File အေနန႔ကဲ ူးခ်င္ရင္  F
Note; Folder ႏွစ္ခုမထပ္ဘူး
8.Deleting Files & Folders
Files ကိုဖ်တ္ခ်င္ရင္ Del န႔ဖဲ ်တ္ (Delete)
Folders ကိုဖ်တ္ခ်င္ရင္ Rd န႔ဖဲ ်တ္ (Remove Directories)
Note; Folder ကိုဖ်တ္ခ်င္ရင္ ဖ်တ္ခ်င္တ႔ဲ Folder က Empty ျဖစ္ေနရမယ္ Empty မျဖစ္ရင္
Folder ထဲ၀င္အကုန္ဖ်တ္ Empty ျဖစ္မွ Folder ကိုျပန္ဖ်တ္။
C:\myroom>delmy.txt (or) *.* (အကုန္ဖ်တ္တာဆိုရင္ *.* နဲ႔ဖ်တ္) (*.*  all files)
C:\>rdmyroom (DIR Command နဲ႔ျပန္စစ္ ရွိမရွိ)
Summary; del{Files name}
rd{Folder name}
9.Hidden Files & Folders (Attrib Command)
C:\>attrib{၀ွက္ခ်င္တ႔ ဲ File & Folder name}+h+r
ျပန္ေဖာ္ခ်င္ရင္
C:\>attrib{ေဖာ္ခ်င္တ႔ ဲ File & Folder name}-h-r
Recovery Console.
The Recovery Console is best at fixing three items repairing the MBR-
(Master Boot Record) , reinstalling the boot files and rebuilding BOOT.INI .
Let’s look at each of these.
A bad boot sector usually shows up as a No Boot Device Error .If it turns
out that this isn’t the problem, the Recovery Console Command to fix it won’t
hurt anything at the Recovery Console Prompt , just type (fixmbr).This fix the
MBR. If NTLDR and NTDETECT.COM are missing. You can take this files from
(i386\ntldr and ntdetect.com.
This takes care of two of the big three and leads us to the last issue,
rebuilding BOOT.INI . If the BOOT.INI file is gone or corrupted, run this
command from the Recovery Console bootcfg/rebuild.
Summary For Recovery Console.
1.Fixmbr
2.Copy i386\ntldr and ntdetect.com
3.bootcfg/rebuild
Run Recovery Console
I386\winnt32/cmdcons

ေက်းဇူးတင္ပါတယ္...  လြန္တာရွိက ၀ႏၵာမိ ပါ ခင္ဗ်ာ....
 

Categories: