EXTERNAL COMMAND
1. MORE:-Using TYPE command we can see the content of any file. But if length of file is greater than 25 lines then remaining lines will scroll up. To overcome through this problem we uses MORE command. Using this command we can pause the display after each 25 lines.
Syntax:- C:\> TYPE <File name> | MORE
C:\> TYPE ROSE.TXT | MORE
or
C:\> DIR | MORE
2. MEM:-This command displays free and used amount of memory in the computer.
Syntax:- C:\> MEM
the computer will display the amount of memory.
3. SYS:- This command is used for copy system files to any disk. The disk having system files are known as Bootable Disk, which are used for booting the computer.
Syntax:- C:\> SYS [Drive name]
C:\> SYS A:
System files transferred
This command will transfer the three main system files COMMAND.COM, IO.SYS, MSDOS.SYS to the floppy disk.
4. XCOPY:- When we need to copy a directory instant of a file from one location to another the we uses xcopy command. This command is much faster than copy command.
Syntax:- C:\> XCOPY < Source dirname > <Target dirname>
C:\> XCOPY TC TURBOC
5. MOVE:- Move command is used for moving one file or multiple files from one location to another location or from one disk to another disk.
Syntax:- C:\> MOVE <file name> <path name>
C:\SONGS> MOVE *.MP3 C:\ SONGS\OLD SONGS\
C:\>
6. FC:-(File Compare) This command is capable for comparing two set of files and display difference between two files.
Syntax:- C:\> FC <First set of file> <Second set of file>
C:\> FC ROSE.TXT GULAB.TXT
7.CHKDSK:-(Check disk) - This command is used to check the status of a disk and show the report of result status.
Syntax:- C:\> CHKDSK
8. SORT:- This command is useful when we want to sort a file. When we run this command the result can be get to display device or file.
Syntax:- C:\> SORT /R < Input file name> <output file name>
Suppose we have a file Player.txt which having the list of a cricket player team and we want to sort the list of players, then we uses this command
C:\> SORT Player.txt
If we not specify the output file name then result will show to the screen.
/R- switch is used for sorting the file in descending order like from Z to A or from 9 to 0.
9. FIND:- The FIND command is used to search a file for a text string.
Syntax:- C:\> FIND "String to search" <File name>
C:\TEST>find "office" gulab.txt
---------- gulab.txt
A clock in a office can never get stolen
10. DISKCOPY:- DISKCOPY copies the contents of a floppy disk to another.
Syntax:- C:\> DISKCOPY <Drive1> <Drive2>
C:\> DISKCOPY A: B:
This command will be copy all contents of A drive to B drive.
11. ATTRIB:- Sets the various type of attribute to a file. Like Read only, Archive, Hidden and System attribute.
Syntax:- C:\> ATTRIB [± r] [± a] [± h] [± s] <File name>
here r - for read only, a- for archive, h - for hidden, s - for hidden attribute.
C:\> ATTRIB +r Gulab.txt
This command will change the attribute of file gulab.txt to read only mode. To remove the read only attribute we will follow this command.
C:\> ATTRIB -r Gulab.txt
12. LABEL:- If you are not happy with the volume label of hard disk, you can change it.
Syntax:- C:\> LABEL
C:\>LABEL
Volume in drive C is JAI
Volume Serial Number is 3E42-1907
Volume label (11 characters, ENTER for none)? INFOWAY
13. DOSKEY:- Once we install doskey , our dos will star to memorize all commands we uses. We can recall those commands using up or down arrow keys. It also gives the facility to create macros, which creates a short key for long keyword or command.
Key function for Doskey are given as-
UP,DOWN arrows recall commands
Esc clears current command
F7 displays command history
Alt+F7 clears command history
F9 selects a command by number
Alt+F10 clears macro definitions
Syntax:- C:\> DOSKEY
DOSKey installed
Creating Macros:-
C:\>doskey t=time
C:\>t
C:\>time
Current time is 3:39:05.97p
Enter new time:
To list out all macros defined just type DOSKEY/MACROS at dos prompt and press enter.
C:\>DOSKEY/MACROS
$D=date
T=time
14. FORMAT:- This command creates new Track & Sectors in a disk. Every
Syntax:- C:\> FORMAT [drive name] [/S]
C:\> FORMAT A:
this command will create new track & sectors.
C:\> FORMAT A: /S
This command will transfer system files after formatting the disk.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HINDI TRANSLATE
1. MORE:-TYPE कमांड का उपयोग करके हम किसी भी फाइल का कंटेंट देख सकते हैं। लेकिन यदि फ़ाइल की लंबाई 25 लाइनों से अधिक है तो शेष लाइनें स्क्रॉल हो जाएंगी। इस समस्या को दूर करने के लिए हम MORE कमांड का उपयोग करते हैं। इस कमांड का उपयोग करके हम प्रत्येक 25 लाइनों के बाद डिस्प्ले को रोक सकते हैं।
सिंटेक्स: - C: \> TYPE <फ़ाइल का नाम> | अधिक
C: \> TYPE ROSE.TXT | अधिक
या
C: \> DIR | अधिक
2. MEM: -यह कमांड कंप्यूटर में मेमोरी की फ्री और यूज्ड मात्रा को प्रदर्शित करता है।
सिंटेक्स: - C: \> MEM
कंप्यूटर मेमोरी की मात्रा प्रदर्शित करेगा।
3. SYS: - इस कमांड का उपयोग किसी भी डिस्क पर सिस्टम फाइल कॉपी करने के लिए किया जाता है। सिस्टम फाइल रखने वाली डिस्क को बूट करने योग्य डिस्क के रूप में जाना जाता है, जिसका उपयोग कंप्यूटर को बूट करने के लिए किया जाता है।
सिंटैक्स: - C: \> SYS [ड्राइव नाम]
C: \> SYS A:
सिस्टम फ़ाइलों को स्थानांतरित कर दिया
यह कमांड तीन मुख्य सिस्टम फाइल COMMAND.COM, IO.SYS, MSDOS.SYS को फ्लॉपी डिस्क में स्थानांतरित करेगी।
4. XCOPY: - जब हमें किसी फाइल की डायरेक्टरी इंस्टेंट को एक स्थान से दूसरे स्थान पर कॉपी करने की आवश्यकता होती है तो हम xcopy कमांड का उपयोग करते हैं। यह कमांड कॉपी कमांड की तुलना में बहुत तेज है।
सिंटैक्स: - C: \> XCOPY <स्रोत dirname> <लक्ष्य dirname>
C: \> XCOPY TC TURBOC
5. MOVE: - मूव कमांड का उपयोग एक फाइल या एक से अधिक फाइल्स को एक स्थान से दूसरे स्थान पर या एक डिस्क से दूसरी डिस्क पर ले जाने के लिए किया जाता है।
सिंटैक्स: - C: \> MOVE <फ़ाइल का नाम> <पथ का नाम>
C: \ SONGS> MOVE * .MP3 C: \ SONGS \ OLD SONGS \
C: \>
6. FC :-( फ़ाइल तुलना) यह कमांड दो सेट फाइलों की तुलना करने और दो फाइलों के बीच अंतर प्रदर्शित करने में सक्षम है।सिंटैक्स: - C: \> FC <फ़ाइल का पहला सेट> <फ़ाइल का दूसरा सेट>
C: \> FC ROSE.TXT GULAB.TXT
7.CHKDSK :-( डिस्क चेक करें) - इस कमांड का उपयोग डिस्क की स्थिति की जांच करने और परिणाम की स्थिति की रिपोर्ट दिखाने के लिए किया जाता है।
सिंटेक्स: - C: \> CHKDSK
8. SORT: - यह कमांड तब उपयोगी होती है जब हम किसी फाइल को सॉर्ट करना चाहते हैं। जब हम इस कमांड को चलाते हैं तो रिजल्ट डिस्प्ले डिवाइस या फाइल में मिल सकता है।
सिंटैक्स: - C: \> SORT / R <इनपुट फ़ाइल नाम> <आउटपुट फ़ाइल नाम>
मान लीजिए कि हमारे पास एक फ़ाइल है। Player.txt जिसमें एक क्रिकेट खिलाड़ी टीम की सूची है और हम खिलाड़ियों की सूची को क्रमबद्ध करना चाहते हैं, तो वह इस कमांड का उपयोग करता है
C: \> SORT Player.txt
यदि हम आउटपुट फ़ाइल नाम निर्दिष्ट नहीं करते हैं, तो परिणाम स्क्रीन पर दिखाई देगा।
/ R- स्विच का उपयोग फ़ाइल को अवरोही क्रम में करने के लिए किया जाता है जैसे Z से A या 9 से 0 तक।
9. FIND: - FIND कमांड का उपयोग टेक्स्ट स्ट्रिंग के लिए फाइल खोजने के लिए किया जाता है।
सिंटैक्स: - C: \> FIND "खोज करने के लिए स्ट्रिंग" <फ़ाइल नाम>
C: \ TEST> "कार्यालय" gulab.txt खोजें
---------- gulab.txt
ऑफिस में लगी घड़ी कभी चोरी नहीं हो सक
10. DISKCOPY: - DISKCOPY एक फ्लॉपी डिस्क की सामग्री को दूसरे में कॉपी करता है।
सिंटैक्स: - C: \> DISKCOPY <Drive1> <Drive2>
C: \> DISKCOPY A: B:
यह कमांड A ड्राइव से B ड्राइव की सभी सामग्री की प्रतिलिपि होगी।
11. ATTRIB: - विभिन्न प्रकार की विशेषता को एक फाइल में सेट करता है। जैसे Read only, संग्रह, हिडन और सिस्टम विशेषता।
सिंटैक्स: - C: \> ATTRIB [[r] [C a] [] h] [C s] <फ़ाइल नाम>
यहाँ r - केवल पढ़ने के लिए, a- आर्काइव के लिए, h - हिडन के लिए, s - हिडन एट्रिब्यूट के लिए।
C: \> ATTRIB + r Gulab.txt
यह कमांड केवल मोड पढ़ने के लिए फ़ाइल gulab.txt की विशेषता को बदल देगा। केवल पढ़ने के लिए विशेषता निकालने के लिए हम इस आदेश का पालन करेंगे।
C: \> ATTRIB -r Gulab.txt
12. LABEL: - यदि आप हार्ड डिस्क के वॉल्यूम लेबल से खुश नहीं हैं, तो आप इसे बदल सकते हैं।
सिंटेक्स: - C: \> LABEL
C: \> LABEL
ड्राइव C में वॉल्यूम JAI है
वॉल्यूम सीरियल नंबर 3E42-1907 है
वॉल्यूम लेबल (11 वर्ण, कोई नहीं के लिए ENTER)? Infoway
13. DOSKEY: - एक बार जब हम doskey इंस्टॉल कर लेते हैं, तो हमारा dos हमारे द्वारा उपयोग की जाने वाली सभी कमांड्स को याद रखने के लिए तैयार होगा। हम ऊपर या नीचे तीर कुंजियों का उपयोग करके उन आदेशों को याद कर सकते हैं। यह मैक्रोज़ बनाने की सुविधा भी देता है, जो लंबे कीवर्ड या कमांड के लिए एक छोटी कुंजी बनाता है।
डोसकी के लिए मुख्य कार्य निम्नानुसार दिए गए हैं-
ऊपर, नीचे तीर कमान याद करते हैं
Esc वर्तमान कमांड को साफ करता है
F7 कमांड इतिहास प्रदर्शित करता है
Alt + F7 कमांड हिस्ट्री को क्लियर करता है
F9 संख्या द्वारा एक कमांड का चयन करता है
Alt + F10 मैक्रो परिभाषाओं को साफ करता है
वाक्य-विन्यास: - C: \> DOSKEY
DOSKey स्थापित किया गया
मैक्रोज़ बनाना: -
C: \> doskey t = time
C: \> टी
C: \> समय
वर्तमान समय 3: 39: 05.97 पी है
नया समय दर्ज करें:
सभी मैक्रोज़ को परिभाषित करने के लिए डॉस प्राईस / मैक्रोज़ को डॉस प्रांप्ट पर टाइप करें और एंटर दबाएँ।
C: \> DOSKEY / मैक्रो
$ डी = तारीख
टी = समय
14. FORMAT: - यह कमांड एक डिस्क में नए ट्रैक एंड सेक्टर बनाता है। प्रत्येक
सिंटैक्स: - C: \> FORMAT [ड्राइव नाम] [/ S]
C: \> FORMAT A:
यह कमांड नए ट्रैक और सेक्टर बनाएगा।
C: \> FORMAT A: / S
यह कमांड डिस्क को फॉर्मेट करने के बाद सिस्टम फाइलों को ट्रांसफर कर देगा।
EXTERNAL COMMANDS

Comments
Post a Comment