In cmd.exe if you type:
copy c:\a.txt
it will copy a.txt* (including a.txt1, a.txtb, etc).
How can I just copy a.txt?
|
In
it will copy a.txt* (including a.txt1, a.txtb, etc). How can I just copy a.txt? |
||||
| show 1 more comment |
|
I don't know where you got that idea... DOS (all versions of) does not copy all files that start the same way without using a wild-card character. For example:
will ONLY copy a.txt to that new location. The alternative:
will copy all files starting with |
|||||||||
|
cmd.execommand interpreter is not the same as DOS, it merely tries to be compatible. When I try the above command on Windows 7, it copies onlya.txt, nota.txt1. – Indrek Sep 27 '12 at 14:49