MS-DOS / विंडोज़ CMD नोट्स
MS-DOS (Microsoft Disk Operating System) was first released in 1981 for IBM-compatible PCs. Microsoft had bought the core code from Seattle Computer Products, where it was known as 86-DOS.
MS-DOS पहली बार 1981 में IBM-compatible PC के लिए आया। इसका मूल कोड Microsoft ने Seattle Computer Products से खरीदा था, जहाँ इसे 86-DOS कहा जाता था।
It was a single-user, single-task, command-line operating system. Its last standalone version, 8.0, came with Windows ME in 2000.
यह एक single-user, single-task और command-line वाला operating system था। इसका आखिरी अलग संस्करण 8.0 था, जो 2000 में Windows ME के साथ आया।
Windows 95 and later versions were built on top of DOS, and the Command Prompt (CMD) you use today is its descendant.
Windows 95 और बाद के Windows DOS के ऊपर ही बने थे, और आज का Command Prompt (CMD) उसी की आगे की पीढ़ी है।
The MD command is used to create a new directory.
MD कमांड से नई डायरेक्टरी (फ़ोल्डर) बनाई जाती है।
Example / उदाहरण:
MD Student
The CD command is used to enter a directory.
CD कमांड से किसी डायरेक्टरी के अंदर जाया जाता है।
Example / उदाहरण:
CD Student
The TYPE NUL command is used to create an empty file.
TYPE NUL कमांड से खाली फ़ाइल बनाई जाती है।
Example / उदाहरण:
TYPE NUL > file.txt
The ECHO command is used to write text into a file.
ECHO कमांड से फ़ाइल के अंदर टेक्स्ट लिखा जाता है।
Example / उदाहरण:
ECHO Hello World > file.txt
The TYPE command is used to display the contents of a file.
TYPE कमांड से फ़ाइल की सामग्री स्क्रीन पर दिखाई जाती है।
Example / उदाहरण:
TYPE file.txt
The REN command is used to change the name of a file.
REN कमांड से फ़ाइल का नाम बदला जाता है।
Example / उदाहरण:
REN file.txt newfile.txt
The COPY command is used to create a copy of a file.
COPY कमांड से फ़ाइल की एक प्रति (कॉपी) बनाई जाती है।
Example / उदाहरण:
COPY newfile.txt copy.txt
The MOVE command is used to move a file from one directory to another.
MOVE कमांड से फ़ाइल को एक डायरेक्टरी से दूसरी डायरेक्टरी में भेजा जाता है।
Example / उदाहरण:
MOVE copy.txt Backup
The DEL command is used to delete a file.
DEL कमांड से फ़ाइल हटाई जाती है।
Example / उदाहरण:
DEL newfile.txt
The REN command is used to change the name of a directory.
REN कमांड से डायरेक्टरी का नाम भी बदला जाता है।
Example / उदाहरण:
REN Student NewStudent
The RD command is used to remove an empty directory.
RD कमांड से केवल खाली डायरेक्टरी हटाई जाती है।
Example / उदाहरण:
RD NewStudent
The DIR command is used to display the list of files and directories.
DIR कमांड से फ़ाइलों और डायरेक्टरी की सूची दिखती है।
Example / उदाहरण:
DIR
The CD .. command is used to move one level up.
CD .. कमांड से एक स्तर ऊपर (मूल डायरेक्टरी में) जाया जाता है।
Example / उदाहरण:
CD ..
The CLS command is used to clear the Command Prompt screen.
CLS कमांड से Command Prompt की स्क्रीन साफ़ की जाती है।
Example / उदाहरण:
CLS
नीचे दिए कमांड एक-एक करके क्रम से चलाएँ।
(Corrected sequence: removed the mistake and added verification steps / सुधारा गया क्रम)
Optional cleanup / वैकल्पिक सफ़ाई: DEL Practice\Backup\copy.txt RD Practice\Backup RD Practice
(सफ़ाई के लिए पहले फ़ाइल हटाएँ, फिर खाली डायरेक्टरी हटाएँ। RD भरी डायरेक्टरी पर काम नहीं करता।)
MS-DOS and Windows CMD commands are used to create, rename, copy, move, read, and delete files and directories.
MS-DOS और Windows CMD कमांड से फ़ाइलें और डायरेक्टरी बनाई, नाम बदली, कॉपी, मूव, पढ़ी और हटाई जाती हैं।
Note: Be careful when deleting files because deleted files may not be recoverable from the Recycle Bin.
ध्यान दें: फ़ाइल हटाते समय सावधानी रखें, क्योंकि हटाई गई फ़ाइलें Recycle Bin से वापस नहीं मिल सकतीं।