Forum Discussion
abhi907625
Jun 26, 2023Copper Contributor
"xcopy /i /y" command does not work as I expected to
I'm in windows 10 platform and want to copy folder1 content into folder2. The folder2 directory should be created automatically without using mkdir command. For this purpose I use xcopy command with /i /y flags, to suppress prompt message and create the directory If the directory doesn't exist. But even mentioned the required flags, xcopy command still prompting the following message:
Does newFolder specify a file name
or directory name on the target
(F = file, D = directory)?
No RepliesBe the first to reply