Which copy command line option removes the interactive prompt when overwriting an existing file?
E) Don’t use any option. Perhaps the copy command won’t notice the existing file.
The answer: D) /y
The /y option suppresses the interactive prompt that helps you make sure that you’re not about to make a horrible mistake by overwriting an existing file with the same name.
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.