What does the /y option do when using COPY at the command line?
A) Copies the files without any attributes
B) Copies the files but does not replace any existing files
C) Copies the files and overwrites existing files without prompting
D) Verifies that the newly copied files have been copied without errors
E) Prompts you to answer “why” you need to copy these files, and if it’s really that important
The answer: C) Copies the files and overwrites existing files without prompting
Normally, the copy command will not overwrite files without prompting you for confirmation. The /y option suppresses that message and assumes that you would like to automatically overwrite all files.
Want to know more? Watch “Command Line Troubleshooting.”
The Windows command line can be a powerful troubleshooting environment if you know what to type. In this video, you’ll learn the important commands that will allow you to manipulate files, format disks, troubleshoot the network connection, and much more.