CP Command Prompt Windows 7 not recognized
By default, there's no cp
in Windows Command Prompt (cmd.exe). The equivalent cmd.exe command is copy
. cp
is a Unix command.
If you can use PowerShell instead, which should come pre-installed in modern Windows systems, you can use cp
and some other Unix commands directly in it.
If PowerShell isn't an alternative, you can use cp
directly in Windows Command Prompt if you install Cygwin.
Moreover, Cygwin also includes the rsync
command, which has many more features than cp
, and might be preferable if you're not just copying a single file (e.g. for backup purposes).
it is a unix/linux command. Download the cygwin package from cygwin.com