DOS (Disk Operating System) एक बहुत ही महत्वपूर्ण और प्रभावी ऑपरेटिंग सिस्टम
Introduction | परिचय
DOS (Disk Operating System) एक बहुत ही महत्वपूर्ण और प्रभावी ऑपरेटिंग सिस्टम था जो कंप्यूटर के शुरुआती दिनों में उपयोग किया जाता था। हालांकि आज के समय में Windows और Linux जैसे ऑपरेटिंग सिस्टम्स का प्रभुत्व है, लेकिन DOS के कई कमांड्स आज भी बहुत उपयोगी होते हैं, खासकर सिस्टम एडमिनिस्ट्रेशन, नेटवर्किंग और फाइल मैनेजमेंट में। इस लेख में हम कुछ महत्वपूर्ण DOS commands के बारे में विस्तार से चर्चा करेंगे, जिन्हें आप जान सकते हैं और अपनी रोज़मर्रा की कंप्यूटर प्रक्रियाओं में उपयोग कर सकते हैं।
![]() |
IMPORTANT DOS COMMANDS |
1. Basic DOS Commands | मूल DOS कमांड्स
1.1 DIR Command | DIR कमांड
English: The DIR
command is used to list all the files and directories in a specific directory. This is one of the most frequently used DOS commands to view contents within a directory. You can also use it with parameters to filter the results.
Hindi: DIR
कमांड का उपयोग किसी विशेष डायरेक्टरी में सभी फाइल्स और डायरेक्टरीज को सूचीबद्ध करने के लिए किया जाता है। यह एक अत्यधिक उपयोग किया जाने वाला कमांड है, जिसका उपयोग डायरेक्टरी के अंदर के कंटेंट को देखने के लिए किया जाता है। आप इसे विभिन्न पैरामीटर्स के साथ भी उपयोग कर सकते हैं।
Example | उदाहरण:
bashC:\>DIR C:\>DIR /P (Displays one page at a time)
1.2 CLS Command | CLS कमांड
English: The CLS
command is used to clear the screen in the command prompt window. This command helps clean the clutter by clearing all previously displayed text.
Hindi: CLS
कमांड का उपयोग कमांड प्रॉम्प्ट की स्क्रीन को साफ़ करने के लिए किया जाता है। यह कमांड स्क्रीन को साफ़ कर पहले के सभी टेक्स्ट को हटा देता है, जिससे स्क्रीन पर जगह बन जाती है।
Example | उदाहरण:
bashC:\>CLS
1.3 CD Command | CD कमांड
English: The CD
(Change Directory) command is used to move between directories. It helps in navigating the file system by changing the current working directory.
Hindi: CD
(चेंज डायरेक्टरी) कमांड का उपयोग डायरेक्टरीज के बीच नेविगेट करने के लिए किया जाता है। यह वर्तमान कार्यशील डायरेक्टरी को बदलकर फाइल सिस्टम में नेविगेशन को आसान बनाता है।
Example | उदाहरण:
bashC:\>CD Documents C:\Documents>CD..
1.4 COPY Command | COPY कमांड
English: The COPY
command is used to copy files from one location to another. It’s a basic but very powerful command for file management.
Hindi: COPY
कमांड का उपयोग फाइल्स को एक स्थान से दूसरे स्थान पर कॉपी करने के लिए किया जाता है। यह एक सरल लेकिन बहुत शक्तिशाली कमांड है जो फाइल मैनेजमेंट के लिए आवश्यक होता है।
Example | उदाहरण:
bashC:\>COPY file1.txt D:\Backup
2. Advanced DOS Commands | उन्नत DOS कमांड्स
2.1 FORMAT Command | FORMAT कमांड
English: The FORMAT
command is used to format a disk drive, typically to prepare it for new data. Be cautious, as formatting erases all data on the drive.
Hindi: FORMAT
कमांड का उपयोग किसी डिस्क ड्राइव को प्रारूपित करने के लिए किया जाता है, आमतौर पर इसे नई डेटा स्टोर करने के लिए तैयार करने हेतु। इसे ध्यान से उपयोग करें, क्योंकि यह ड्राइव के सभी डेटा को मिटा देता है।
Example | उदाहरण:
bashC:\>FORMAT D:
2.2 DEL Command | DEL कमांड
English: The DEL
command is used to delete one or more files. This command can also be used with wildcards to delete multiple files at once.
Hindi: DEL
कमांड का उपयोग एक या अधिक फाइल्स को डिलीट करने के लिए किया जाता है। इसे वाइल्डकार्ड्स के साथ उपयोग करके आप कई फाइल्स को एक साथ डिलीट कर सकते हैं।
Example | उदाहरण:
bashC:\>DEL file.txt C:\>DEL *.txt (Deletes all .txt files)
2.3 XCOPY Command | XCOPY कमांड
English: The XCOPY
command is a more powerful version of the COPY
command. It allows copying entire directories, including subdirectories and files.
Hindi: XCOPY
कमांड COPY
कमांड का एक अधिक शक्तिशाली संस्करण है। इसका उपयोग डायरेक्टरीज और उनके सबडायरेक्टरीज सहित सभी फाइल्स को कॉपी करने के लिए किया जाता है।
Example | उदाहरण:
bashC:\>XCOPY C:\Documents D:\Backup /S /E
2.4 ATTRIB Command | ATTRIB कमांड
English: The ATTRIB
command is used to change the attributes of files and directories. You can make files read-only, hidden, or set other attributes using this command.
Hindi: ATTRIB
कमांड का उपयोग फाइल्स और डायरेक्टरीज के एट्रिब्यूट्स को बदलने के लिए किया जाता है। आप फाइल्स को केवल पढ़ने योग्य, छिपी हुई, या अन्य एट्रिब्यूट्स सेट कर सकते हैं।
Example | उदाहरण:
bashC:\>ATTRIB +R file.txt (Makes the file read-only) C:\>ATTRIB +H file.txt (Makes the file hidden)
3. Networking Commands | नेटवर्किंग कमांड्स
3.1 PING Command | PING कमांड
English: The PING
command is used to check the connectivity between two systems, usually between your computer and a remote server or device.
Hindi: PING
कमांड का उपयोग दो सिस्टम्स के बीच कनेक्टिविटी को जांचने के लिए किया जाता है, अक्सर यह आपके कंप्यूटर और एक रिमोट सर्वर या डिवाइस के बीच होता है।
Example | उदाहरण:
bashC:\>PING google.com
3.2 IPCONFIG Command | IPCONFIG कमांड
English: The IPCONFIG
command displays the current network configuration of your system, including IP address, subnet mask, and gateway details.
Hindi: IPCONFIG
कमांड आपके सिस्टम की वर्तमान नेटवर्क कॉन्फ़िगरेशन को दिखाता है, जिसमें IP एड्रेस, सबनेट मास्क, और गेटवे विवरण शामिल होते हैं।
Example | उदाहरण:
bashC:\>IPCONFIG
3.3 NETSTAT Command | NETSTAT कमांड
English: The NETSTAT
command provides detailed information about active network connections, ports in use, and other network statistics.
Hindi: NETSTAT
कमांड सक्रिय नेटवर्क कनेक्शंस, उपयोग किए जा रहे पोर्ट्स, और अन्य नेटवर्क आंकड़ों के बारे में विस्तृत जानकारी प्रदान करता है।
Example | उदाहरण:
bashC:\>NETSTAT -a
4. Disk Management Commands | डिस्क प्रबंधन कमांड्स
4.1 CHKDSK Command | CHKDSK कमांड
English: The CHKDSK
command checks the file system and disk for errors. It is a crucial command for diagnosing disk-related issues.
Hindi: CHKDSK
कमांड फाइल सिस्टम और डिस्क में त्रुटियों की जांच करता है। यह डिस्क से संबंधित समस्याओं के निदान के लिए महत्वपूर्ण है।
Example | उदाहरण:
bashC:\>CHKDSK C: /F
4.2 DISKPART Command | DISKPART कमांड
English: The DISKPART
command is used to manage disk partitions. This powerful tool allows you to create, delete, or modify partitions on your disk.
Hindi: DISKPART
कमांड का उपयोग डिस्क पार्टिशंस को प्रबंधित करने के लिए किया जाता है। यह एक शक्तिशाली टूल है जो आपको डिस्क पर पार्टिशंस बनाने, हटाने या संशोधित करने की अनुमति देता है।
Example | उदाहरण:
bashC:\>DISKPART
DISKPART> list disk
DISKPART> select disk 1
DISKPART> create partition primary
5. Miscellaneous Commands | विविध कमांड्स
5.1 HELP Command | HELP कमांड
English: The HELP
command provides detailed information about all available commands in DOS. You can use this command to understand how a specific command works.
Hindi: HELP
कमांड DOS में उपलब्ध सभी कमांड्स के बारे में विस्तृत जानकारी प्रदान करता है। आप इस कमांड का उपयोग किसी विशेष कमांड के कार्य को समझने के लिए कर सकते हैं।
Example | उदाहरण:
bashC:\>HELP C:\>HELP DIR
5.2 EXIT Command | EXIT कमांड
English: The EXIT
command is used to close the command prompt window. It’s a simple yet useful command to end your current DOS session.
Hindi: EXIT
कमांड का उपयोग कमांड प्रॉम्प्ट विंडो को बंद करने के लिए किया जाता है। यह आपके वर्तमान DOS सत्र को समाप्त करने के लिए एक सरल लेकिन उपयोगी कमांड है।
Example | उदाहरण:
bashC:\>EXIT
Conclusion | निष्कर्ष
DOS commands का एक समृद्ध इतिहास और कार्यक्षमता है, जो आज भी उपयोगी है। चाहे आप फ़ाइल प्रबंधन कर रहे हों, नेटवर्किंग से जुड़े काम कर रहे हों या डिस्क से संबंधित मुद्दों का समाधान कर रहे हों, DOS commands के बारे में जानकारी आपके तकनीकी कौशल को और सुदृढ़ कर सकती है।
This article provides a detailed guide on important DOS (Disk Operating System) commands in both Hindi and English. Learn about essential commands like DIR
, COPY
, FORMAT
, CD
, and PING
with examples and explanations for each. The guide covers basic commands for file management, advanced commands for disk operations, networking commands, and system diagnostics. Ideal for beginners and IT professionals, this resource helps you master the powerful DOS environment, offering practical applications in both modern and legacy systems