Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,545 of 42,547    |
|    Herbert Kleebauer to miguel.svq@gmail.com    |
|    Re: Bug, feature or my fault?    |
|    19 Apr 17 01:03:54    |
      From: klee@unibwm.de              On 18.04.2017 14:29, miguel.svq@gmail.com wrote:       > Having this directory structure and files...       >       > C:\here\origin\File.ext       > C:\here\origin\sub\       > C:\here\origin\sub\file.ext       > C:\here\dest\       >       > While being "C:\here\" I do:       >       > XCOPY "./origin/File.ext" "./dest/File.ext" /E /Y       >       > (Answer FILE to the question about copying file or directory)       > Says: 2 files copies . Shouldn't it be just 1?              You want to copy all files with the name "File.ext" in       C:\here\origin\ and it's subdirectories (option /E).       There are two such files and both are copied to the       given destination "./dest/File.ext", which means, the       second copy overwrites the first copy.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca