What command will you use to copy a text file from the C drive to the D drive in a Command Line Interface (CLI)?
What command will you use to copy a text file from the C drive to the D drive in a Command Line Interface (CLI)?
कमांड लाइन इंटरफेस (CLI) में टेक्स्ट फ़ाइल को C ड्राइव से D ड्राइव में काॅपी करने के लिए आप किस कंमाड का उपयोग करेगें?
Detailed Solution & Logic
copy C:\al.txt D:
Explanation (व्याख्या):
Command Line Interface (CLI) में फ़ाइल को एक स्थान से दूसरे स्थान पर कॉपी करने के लिए copy command का उपयोग किया जाता है।
Syntax:
copy [source] [destination]
Example in this question:
- Source file:
C:\al.txt - Destination:
D:drive
Command:
copy C:\al.txt D:
यह command C drive में मौजूद al.txt फ़ाइल को D drive में कॉपी कर देगा।
Why other options are wrong (अन्य विकल्प क्यों गलत हैं):
- copy al.txt C:\ D: ❌
- Syntax गलत है, copy के बाद source और destination सही ढंग से specify नहीं किया गया।
- move al.txt C:\ D: ❌
movecommand file को source से destination में transfer करता है और original delete हो जाता है, copy नहीं करता।
- *move C:\al.txt D:* ❌
- Syntax technically सही है, लेकिन यह copy नहीं करता, move करता है।
Extra Facts (अतिरिक्त तथ्य):
- Move vs Copy:
copy→ original file retained, duplicate created।move→ original file source से हट जाती है।
- Wildcard Use:
copy C:\*.txt D:→ C drive की सभी .txt फाइलों को D drive में copy करता है।
- Shortcut Tip:
- CLI में paths space-sensitive होते हैं, अगर folder name में space है तो
" "का उपयोग करें।
- CLI में paths space-sensitive होते हैं, अगर folder name में space है तो
- Exam Tip:
- Copy command → duplicate files, Move command → relocate files
Similar Practice Questions
Which of the following combinations is NOT correct?
Which of the following combinations is NOT correct? निम्नलिखित में से कौन-सा संयोजन सही नहीं...
Which of the following measures is essential for securing a PC and protecting it from cyber threats?
Which of the following measures is essential for securing a PC and protecting it from...
Which of the following commands can be used to open the Windows Features window?
Which of the following commands can be used to open the Windows Features window? विंडोज़...
What is the background of the screen known as?
What is the background of the screen known as? स्क्रीन के बैकग्राउड को किस नाम...
When installing software, what does the term ‘custom installation’ usually mean?
When installing software, what does the term ‘custom installation’ usually mean? साॅफ़्यवेय़र इंस्टाल कते समय,...
Which of the following is a small graphical representation of a computer application on the desktop?
Which of the following is a small graphical representation of a computer application on the...
Which Open dialog box option enables users to browse to the specified file and location?
Which Open dialog box option enables users to browse to the specified file and location?...