Windows command prompt (DOS): copy command
If, in Windows command prompt, the copy command doesn’t seem to work for you, here might be why.
Lately, with one of my Windows 7 computers, I’ve not been able to paste a text file to a new location: when I try to do so, I get a dialogue box telling me “Windows Explorer has stopped working.” More on that in another post.
In the meantime, I’ve reverted to the copy command. However, the first few tries, I couldn’t get it to work. Apparently the reason was that I was using forward slashes:
copy thisfile.txt ../thatdir won’t work due to forward slash
copy thisfile.txt ..\thatdir will work :)
It’s ironic: you can even use forward slashes to navigate in the command prompt. However, with the copy command, Windows apparently insists on backslashes.
HTH:)
Source: robert’s perl tutorial
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.