Sunday, October 6

XCOPY command on windows 7

Apparently, my windows 7 machine crashes explorer when i try to copy files from my hard disk to my cellphone or a pen drive. The best solution i found was to use the command XCOPY.

The command works as below.
XCOPY source destination

For instance if i want to copy music from F: drive to L: drive
XCOPY "F:/music" "L:/music"

[Update]
The above command just copies files from source to destination. Today I encountered a situation where i had to copy folders and files within the folders. The best command for that is
XCOPY "F:/music" "L:/music" /s

where /s is for "Copy folders and subfolders"



1 comment:

  1. GSCopy Pro v6.0 (RoboCopy Alternative) with Open File Agent
    GSCopyPro is a single command-line tool (CLI) that can copy, replicate and move files from one folder to another. This folder can be on the same machine/ server or another server elsewhere. What makes GSCopyPro stand out from other competitors is the fact it works on 32-bit as well as 64-bit systems and has no restrictions. It can easily be scheduled to run as a scheduled task and fully automated. GSCopyPro also comes with an open file agent which can copy files that are locked/ opened by other processes. This feature is supported in all windows vSCersions from widows XP/ 2003 and later.
    Go To:>> http://www.gurusquad.com/GOPYPRO

    ReplyDelete