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 (व्याख्या):
In Command Line Interface (CLI), the copy command is used to copy a file from one location to another.
Command Line Interface (CLI) में फ़ाइल को एक स्थान से दूसरे स्थान पर कॉपी करने के लिए copy command का उपयोग किया जाता है।
Syntax:
Syntax (विन्यास):
Example in this question:
इस प्रश्न में उदाहरण:
Source file: C:\al.txt
Source file: C:\al.txt
Destination: D: drive
Destination: D: drive
Command:
Command (आदेश):
This command will copy the file al.txt from the C drive to the D drive.
यह command C drive में मौजूद al.txt फ़ाइल को D drive में कॉपी कर देगा।
Why other options are wrong (अन्य विकल्प क्यों गलत हैं):
copy al.txt C:\ D: ❌ – The syntax is incorrect because the source and destination are not specified properly after the copy command.
copy al.txt C:\ D: ❌ – Syntax गलत है क्योंकि copy command के बाद source और destination सही तरीके से specify नहीं किए गए हैं।
move al.txt C:\ D: ❌ – The move command transfers the file from source to destination and removes it from the original location instead of copying it.
move al.txt C:\ D: ❌ – move command फ़ाइल को source से destination में transfer करता है और original location से हटा देता है, यह copy नहीं करता।
move C:\al.txt D: ❌ – The syntax is technically correct, but it moves the file instead of copying it.
move C:\al.txt D: ❌ – Syntax technically सही है, लेकिन यह फ़ाइल को copy नहीं बल्कि move करता है।
Extra Facts (अतिरिक्त तथ्य):
Move vs Copy:
Move और Copy का अंतर:
copy → The original file remains in the source and a duplicate file is created.
copy → original file source में बनी रहती है और उसकी duplicate copy बन जाती है।
move → The original file is removed from the source location and placed in the destination.
move → original file source location से हटकर destination में चली जाती है।
Wildcard Use:
Wildcard का उपयोग:
copy C:\*.txt D: will copy all .txt files from the C drive to the D drive.copy C:\*.txt D: C drive की सभी .txt फाइलों को D drive में copy कर देगा।
Shortcut Tip:
Shortcut Tip (शॉर्टकट सुझाव):
In CLI, paths are space-sensitive, so if a folder name contains spaces, use quotation marks (" ").
CLI में paths space-sensitive होते हैं, इसलिए यदि folder name में space हो तो " " (quotes) का उपयोग करें।
Exam Tip: Copy command → duplicate files, Move command → relocate files.
Exam Tip: Copy command → duplicate files बनाता है, Move command → files को एक स्थान से दूसरे स्थान पर स्थानांतरित करता है।
Similar Practice Questions
Which Task Manager tab would one use when tracking the quantity of data delivered and received over one’s network connection?
Which Task Manager tab would one use when tracking the quantity of data delivered and...
Which of the following keyboard shortcuts is used to print a web page in Google Chrome in the Windows OS?
Which of the following keyboard shortcuts is used to print a web page in Google...
A program that converts a high-level language program into a set of instructions that can run on a computer is called _________.
A program that converts a high-level language program into a set of instructions that can...
Full form of GUI is
Full form of GUI is GUI का पूर्ण रूप है
Which of the following best describes the role of a system software in relation to application software?
Which of the following best describes the role of a system software in relation to application...
Which of the following is the default location where deleted files are temporarily stored in MS Windows OS before they are permanently removed?
Which of the following is the default location where deleted files are temporarily stored in...
The Start menu was first introduced in which version of Windows?
The Start menu was first introduced in which version of Windows? स्टार्ट मेनू सर्वप्रथम विंड़ोज...