by @kodeazy
cp is not recognized as an internal or external command in windows
To copy paste a file from source path to destination path below command is working fine in Ubuntu
operating system.
cp src/index1.html dist/index1.html
In Windows
operating system while trying to execute the same command getting below error.
'cp' is not recognized as an internal or external command,
operable program or batch file.
Error is due to the reason that in windows we do not have cp
command.
Instead of cp
we use copy
command to place source
file in destination
.
unlike forward slash /
in ubuntu we use two backwardslash \\
while specifing the path of the file
Below is the example syntax of copy
past
of index1.html
file.
copy src\\index1.html dist\\index1.html