Reputation: 1
I am using the command below:
C:\>xcopy /i /e %IDF_PATH%\examples\get-started\hello_world F:\Projekt1\Eclipse_kodok
The problem is every time I get the error:
Invalid number of parameters
Is there any method to solve this problem?
(I'm a beginner command prompt user.)
Upvotes: 0
Views: 1188
Reputation: 1300
First of all, try including source and destination in quotes (it is likely that %IDF_PATH% contains spaces).
Second, if the destination is a directory, use the backslash at the end.
like this:
xcopy /i /e "%IDF_PATH%\examples\get-started\hello_world" "F:\Projekt1\Eclipse_kodok\"
If the destination is a file, try to use this undocumented feature of xcopy:
xcopy /i /e "%IDF_PATH%\examples\get-started\hello_world" "F:\Projekt1\Eclipse_kodok*"
Hope this helps :-)
Upvotes: 1