Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Problem with XCOPY  (Read 2831 times)

0 Members and 1 Guest are viewing this topic.

PPowerHouseK

  • Guest
Problem with XCOPY
« on: February 15, 2011, 03:18:59 PM »
Hello all,

I am currently having some problems with the following command. The command runs every 2 hrs, the problem is that every OTHER run, it will only copy the files in the folder specified and not all the subfolders as well. But every other run it will copy the files and subfolders from the specified directory. I have been fighting this all morning. Any help would be greatly appreciated.

Here is the command that works every OTHER time its executed:
Code: [Select]
XCOPY "C:\directory\foldertosave" "C:\Directory\BackupFolderDir\foldertosave" /V /Y /R /K /E

Fleexy



    Intermediate

  • OW NEXT TIME I SHOULD TURN IT OFF BEFORE SERVICING
  • Thanked: 2
    • Yes
    • Yes
  • Experience: Experienced
  • OS: Windows XP
Re: Problem with XCOPY
« Reply #1 on: February 15, 2011, 03:36:23 PM »
Try removing the /V, maybe?
I love .NET!

Luthfi



    Rookie
  • Good question solves half the problem
    • Yes
  • Experience: Expert
  • OS: Windows 7
Re: Problem with XCOPY
« Reply #2 on: February 21, 2011, 02:56:55 AM »
What if you add /S before /E?