F
F
fandorin_official2017-11-10 07:08:53
cmd/bat
fandorin_official, 2017-11-10 07:08:53

Invalid number of parameters?

Made a batnik to copy files.

xcopy D:\_База 1С 8.2_ D:\Dropbox\Apps\1001 мелочь f/ i/ /y /s
TIMEOUT /T 100 /NOBREAK

As a result of the launch, we get the following:
5a052614f0a74782985442.png
I enclosed the file paths in quotation marks. Didn't help much.
How can I fix it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kisaa, 2017-11-10
@kisaa

Replace
with eg
/f /i_

O
Olgeir, 2017-11-10
@Olgeir

1. All paths are quoted, i.e.:
xcopy "D:\_Base 1C 8.2_" "D:\Dropbox\Apps\1001 trifle"
2. batch file must be encoded 866

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question