copy file command line
copy c:\data\file_name.txt D:\backup\file_new_name.txt
copy c:\data\file_name.txt D:\backup
copy file command line
copy c:\data\file_name.txt D:\backup\file_new_name.txt
copy c:\data\file_name.txt D:\backup
cmd copy file
Syntax
COPY [options] [/A|/B] source [/A|/B] [+ source2 [/A|/B]...] [destination [/A|/B]]
COPY source1 + source2.. destination [options]
Key
source : Pathname for the file or files to be copied.
/A : ASCII text file (default)
/B : Binary file copy - will copy extended characters.
/D : Allow the destination file to be created decrypted.
destination : Pathname for the new file(s).
/V : Verify that the destination file, once written, can be read.
No comparison with the source files occurs.
/N : If at all possible, create only short filenames (8.3) in the
destination. This option can help when copying between disks
that are formatted differently e.g NTFS and VFAT, or when archiving
data to an ISO9660 CDROM.
/L : If source is a symbolic link copy the link to the target
instead of the actual file the source link points to.
/Y : Suppress confirmation prompt, when overwriting files.
/-Y : Enable confirmation prompt, when overwriting files.
/Z : Copy files in restartable mode. If the copy is interrupted
part way through, it will restart if possible. (use on slow networks)
copy command in cmd
COPY "filename" /Y
to overwrite the file in destination
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us