របៀបទី១
Start
→ All
Programs →
Accessories →
Command Prompt
របៀបទី២
RUN
( Window + R ) → cmd
មុខងាររបស់ Command Prompt ខ្លះៗ
១-
CD
CD :
ប្រើសម្រាប់ផ្តាស់ប្តូរ Directory
ឧទាហរណ៍
- CD C:/ : ផ្តាស់ប្តូរទៅ Directory C:/
- CD / : ផ្តាស់ប្តូរ Directory ទៅកាន់ Root ដំបូងបំផុត ដូចជា ប្រសិនបើយើងកំពុងស្ថិតនៅ C:/wamp/www ហើយនៅពេលដែលយើងប្រើ CD / នោះវានឹងទៅកាន់ C:/ ។
- CD.. : ប្រើសម្រាប់ប្តូរទៅ Directory ទៅខាងក្រោយបន្ទាប់
- CD directory1\directory2 : ប្រើសម្រាប់ទៅកាន់ Directory ជាក់លាក់ណាមួយ
- CD / : ផ្តាស់ប្តូរ Directory ទៅកាន់ Root ដំបូងបំផុត ដូចជា ប្រសិនបើយើងកំពុងស្ថិតនៅ C:/wamp/www ហើយនៅពេលដែលយើងប្រើ CD / នោះវានឹងទៅកាន់ C:/ ។
- CD.. : ប្រើសម្រាប់ប្តូរទៅ Directory ទៅខាងក្រោយបន្ទាប់
- CD directory1\directory2 : ប្រើសម្រាប់ទៅកាន់ Directory ជាក់លាក់ណាមួយ
២-
DIR
DIR : ប្រើសម្រាប់បង្ហាញ files ឬ directory ទាំងអស់នៅក្នុង drive ឬ directory ដែលយើងកំពុង ស្ថិតនៅ។
យើងអាចបន្ថែមព័ត៌មានបន្ថែមដើម្បីធ្វើការបង្ហាញ file ដូចខាងក្រោម៖
DIR *.exe : ដើម្បីបង្ហាញ file ណាដែលមាន extension .exe
DIR *.INF *.TXT : ដើម្បីបង្ហាញ file ណាដែលមាន extension .INF និង .TXT
DIR *.exe : ដើម្បីបង្ហាញ file ណាដែលមាន extension .exe
DIR *.INF *.TXT : ដើម្បីបង្ហាញ file ណាដែលមាន extension .INF និង .TXT
៣-
COPY
source destination
Copy
ជា command ដែលមាននាទីសម្រាប់ copy
ឯកសារ ដែលsource ជា file ដែលយើងចង់ copyនិង destination ជា កន្លែងដែលយើងចង់ Past។
ឧទាហរណ៍
copy *.txt d: →
Copy file ទាំងឡាយណាដែលមាន extension .txt នៅក្នុង directory ដែលយើងកំពុងស្ថិតនៅ ទៅ drive
D។
copy test.txt d: → Copy test.txt ទៅ drive D។
សំគាល់: ចំពោះឈ្មោះ file មានដកឃ្លា ដូចនេះយើងត្រូវប្រើសញ្ញា Double quote (“ “)
copy test.txt d: → Copy test.txt ទៅ drive D។
សំគាល់: ចំពោះឈ្មោះ file មានដកឃ្លា ដូចនេះយើងត្រូវប្រើសញ្ញា Double quote (“ “)
៤-
DEL
path/file_name
del ជា command ប្រើសម្រាប់លុបឯកសារ។
ឧទាហរណ៍
del test.txt → លុប file test.txt ដែលស្ថិតនៅក្នុង directory
កំពុងស្ថិតនៅ។
del c:\windows\temp\*.* → លុប file ទាំងអស់ដែលនៅក្នុង directory temp
del c:\windows\temp\*.* → លុប file ទាំងអស់ដែលនៅក្នុង directory temp
៥-
MOVE
Move
ជា command ប្រើសម្រាប់ផ្តាស់ប្តូរទីតាំងនៃ
ឯកសារ។
ឧទាហរណ៍
move c:\windows\temp
c:\temp → ផ្ទាស់ប្តូរទីតាំងឯកសារដែលស្ថិតនៅក្នុង
directory temp ដែលស្ថិតនៅក្នុង directory
windows មកដាក់នៅក្នុង directory temp នៅក្នុង
drive c ផ្ទាល់។
៦-
Format
Format
គឺជា command ដែលមាននាទីសម្រាប់ format
ទិន្នន័យ។
ឧទាហរណ៍
format f: → មានន័យថា format drive f។
៧.
EDIT
Edit
គឺជា command សម្រាប់បើក និង
ធ្វើការកែប្រែទិន្នន័យរបស់ file នៅក្នុង DosEditor។
ឧទាហរណ៍
edit test.txt → ចូលទៅបើក file test.txt ដើម្បីធ្វើការកែប្រែ។
៨.
CLS
cls គឺជា command ដែលមាននាទីសម្រាប់សំអាតផ្ទៃ Screen
ឲ្យស្អាត។
សំគាល់: Command ដែលបានរៀបរាប់ខាងលើនេះ
គឺមានលក្ខណៈបន្តិចបន្តួចនោះទេ វានៅមានលក្ខណៈជា ច្រើនទៀត ហើយក៏នៅមាន command
ជាច្រើនទៀតផងដែរ។
ចែករំលែកអត្ថបទនេះទៅកាន់មិត្តភក្តិអ្នកតាមរយៈ
No comments:
Post a Comment