S
S
Svyatoslav Khusamov2018-08-13 13:00:26
cmd/bat
Svyatoslav Khusamov, 2018-08-13 13:00:26

What is the correct way to copy files in Windows Cmd using xcopy?

The xcopy command copies files but asks the question:

>xcopy build "target/client" /E
Что означает target/client:
имя файла или каталога
(F = файл, D = каталог)? D

How to answer it in advance, on the command line itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Yaroshevich, 2018-08-13
@YMax

Previously, I often made mistakes like this - you need to specify the path correctly:
The last backslash says that the target is a folder, not a file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question