Skip to main content

Questions tagged [xcopy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
1k views

"Invalid drive specification" when copying files

Currently using XCOPY via a BATCH file which I created, in order to copy files over from a client computer to a mounted drive created in Azure. I have been using the XCOPY function for some time, ...
Hunktydunkaty's user avatar
0 votes
0 answers
1k views

append date and time before each line in a text log file in windows 10

I want to append date and time before each line in a text log file in windows I run iperf command in cmd in windows 10. iperf.exe -c192.168.5.199 -u -t4 -i1 -f Kbytes -w1024k -b1024k >> client-...
Jyoti Kumar's user avatar
0 votes
1 answer
544 views

Fast File Copy script in Windows

I have a process that is run every month or so. Such process identifies a set of files and constructs a proper source and destination path from several fields of different tables in DB to then copy ...
Carlos S. Na's user avatar
0 votes
1 answer
547 views

Copy files and folders by specific days of the month

I'd like to create a batch file to copy the files and folders by specific days. For example, 15th and 30th of the month(not 15th to 30th) copy the files and folder to another location. How can I write ...
fedora's user avatar
  • 11
1 vote
1 answer
267 views

Need to copy files where source files are in directories but want target files to land in single directory

I have been asked to see if I can copy many files from a source that has directories and sub directories and for the taget to be a single directory. All files to one directory. If there happens to be ...
mebermudez's user avatar
1 vote
0 answers
874 views

Local File Copy Incredibly Slow

I have 15 Server 2008 R2 servers. On 2 of them, copying files locally is incredibly slow. I need to make copies of a 2GB folder which has 8000 files in it. On 13 servers, a simple xcopy command has ...
user697508's user avatar
0 votes
0 answers
84 views

linux copy directory over another directory and if the same rename older files appending the modification date-time

In Linux, I am wondering how one can copy (maybe some sort of merge) one directory over the second directory - which can have the same name - and if two file have the same name then rename whichever ...
fptstl's user avatar
  • 131
0 votes
1 answer
4k views

xcopy & robocopy - Encrypted during transfer?

I need to transfer some files on some windows hosts, as i come from the unix side, i searched for a tool similar to scp or rsync. I came across xcopy and robocopy and searched the manuals for a hint ...
embedded's user avatar
  • 476
0 votes
0 answers
981 views

Windows Server Sync?

Looking to see if anyone has knowledge in this. Currently I am trying to set up 2 windows 2012 servers, to synchronize the files in C:\Company\Record of each machine. For example. Machine A makes 06-...
user330736's user avatar
0 votes
3 answers
6k views

Copy multiple files from different folders to 1 folder

i'm looking for a sollution to copy multiple files from different folders to 1 folder. What I have is that I need to copy files from c:\Customers\folderA\folderB\files copy to e:\FolderB\files The ...
ptjuh's user avatar
  • 11
1 vote
1 answer
7k views

Why does xcopy fail when there is obviously enough space?

I have a 2TB hard drive "D" containing 732GB of data on a 2TB NTFS partition that I want to copy (absolutely everything on the drive) to another drive "F" with 981GB of space (its freshly formatted (...
Korijn's user avatar
  • 143
1 vote
0 answers
3k views

WMIC with XCopy: Copy file from Remote System to Shared Location

Today I found one issue where, I would like your help... Situation: I want to copy my remote file (which is not shared directly) to other system (which is shared) so, basically it's like Remote ...
Brijesh Sahh's user avatar
1 vote
1 answer
1k views

Copy Files/Folders on Windows Volumes Created from Mac

We are trying to migrate storage from one volume to another, and we are running into problems with folders and files created from Mac OSX. The current file storage is on windows, and unfortunately ...
Aaron A's user avatar
  • 249
2 votes
1 answer
260 views

Why is Xcopy ignoring /i flag?

This may take the cake for the simplest questions asked here but I have a script that I want to just copy a file and not prompt me with "Does C:\Filename.bin specify a filename or a directory?" The ...
etoisarobot's user avatar
1 vote
1 answer
1k views

Xcopy and hosts file in windows scheduled tasks

I have some trouble with xcopy or maybe with windows/drivers/etc/hosts DNS file. If I add my xcopy command in a windows scheduled task, xcopy can not resolve server's name stored in hosts file, infact,...
Tobia's user avatar
  • 1,322
3 votes
3 answers
8k views

copy directory including 'base' folder

I need to copy folderA into folderB via the command line: c:\temp \folderA \folderB should become c:\temp \folderA \folderB\folderA That is, exactly the same ...
wal's user avatar
  • 157
1 vote
0 answers
1k views

Oracle Database 11g Express Edition - Built-in backup files-to-be-saved

Considering the built-in 'Backup Database' script (backup.bat) that comes with a new instalation of the Oracle Express 11g Edition, after finishing the script execution, what folders/files should be ...
J.Hudler's user avatar
  • 151
1 vote
2 answers
4k views

xcopy to WebDAV drive gives directory not empty error

I am trying to synchronize two folders. I am trying to synch a WebDAV mapped drive folder (Z:\Images) with a folder on a hard drive on my local computer (E:). Here is the command I am running: xcopy ...
jmacinnes's user avatar
0 votes
2 answers
2k views

How to copy files to destination system through a specific LAN card?

I want to copy database backup from my running DB Server to Backup server. The source server has two LAN cards connected through their own IP address. One LAN card is used to connect to the ...
hammad siddiqui's user avatar
2 votes
3 answers
13k views

How to execute a batch file each time a user logins?

I've written a batch script which copies of some files in the CommonAppData folder (C:\ProgramData) to the logged in User's Local AppData. What I would like to do is to execute this script for every ...
user841923's user avatar
6 votes
3 answers
9k views

Copy first 10 files from a folder and subfolders

I'm trying to get the first (any) 10 files from a deeply nested filestructure. I can use XCOPY source dest /T /E to build the folder structure, but what I'd like to do is get 10 files from each folder ...
Rob White's user avatar
  • 463
1 vote
7 answers
20k views

XCOPY access denied error on My Documents folder

Here's the situation. We have a file server set up at \fileserver\ that has a folder for every user at \fileserver\users\first.last I'm running an xcopy command to backup the My Documents folder from ...
Safado's user avatar
  • 4,786
0 votes
2 answers
8k views

psexec and xcopy error 4

I am trying to use xcopy on a remote machine with psexec but i keep getting an error 4 and would love some brainstorming as to why that error might come up. The actual error says: Invalid drive ...
Ben's user avatar
  • 33
0 votes
2 answers
3k views

XCOPY for only new files not working for Network drive?

I have the following xcopy command to back up only the new files in Windows Server 2008 box: XCOPY /D /Y C:\TMP\*.dat C:\Test it works fine first time to copy all the files to Test and copy nothing ...
David.Chu.ca's user avatar
1 vote
2 answers
5k views

How do you synchronize content between IIS Servers?

I just came across this utility that will sync IIS servers and was wondering what other software people are using? http://www.iis.net/download/WebDeploy The company I'm at uses a very old version ...
makerofthings7's user avatar
2 votes
2 answers
1k views

using xcopy or copy to back up files?

I have a local drive that contains a directory per user: c:\user1\ c:\user2\ c:\user3\ and I have a remote drive (via a share) that contains the same directory tree: f:\user1\ f:\user2\ f:\user3\ ...
Mr Aleph's user avatar
  • 231
0 votes
1 answer
1k views

Schedule a copy in Windows 7

I am trying to schedule a back up of a folder to another folder, using the Windows task scheduler of Windows 7. I think I have a pretty good idea of the command that will run: xcopy Z:\ W:\...
nute's user avatar
  • 801
2 votes
6 answers
20k views

How do I mirror a folder (copy only missing and changed files recursively) in windows?

I'm trying to find a fast way to recursively update a folder and all subfolders from another folder. Obviously, a full delete and Xcopy would work but that is very slow. After the update, the ...
user avatar
4 votes
4 answers
11k views

Robocopy really slow across LAN

DISCLAIMER: I'm a programmer, not an admin! I am setting up web apps in a new server cluster and copying files using xcopy or robocopy and UNC paths between servers on the same subnet is really slow. ...
Brian Donahue's user avatar
1 vote
2 answers
10k views

How do I copy a network file using wmic on a remote computer?

I'm an admin of a domain and im trying to run a wmic script to copy a file on a remote pc from another remote pc. My command: WMIC /NODE:@"C:\compList.txt" PROCESS CALL Create "xcopy \\networkPC\...
user34544's user avatar
  • 113
4 votes
6 answers
1k views

xcopy is illogical?

I want to use XCOPY for an easy copy script to 'sync' one folder to another, every night. XCOPY C:\hyper-v\VHD\*.avhd Z:\BACKUP\HYPERV_VMs /s /d /c I cannot manage to get no prompting. When I choose ...
laurens's user avatar
  • 397
1 vote
2 answers
3k views

xcopy and timeouts

Related to this question and this answer Backup on disc using TrueCrypt corruption problem I want to copy the backup to my HD. However the timeout seems to be a problem. I see many single files then ...
user avatar
17 votes
6 answers
60k views

Fastest method of copying files

If we have a successful build on our build server (CCNET) all ASP.NET website files are copied to the virtual directory (%output_dir%) so non-developers can see/test the latest version of the website. ...
1 vote
3 answers
758 views

Can recover files I accidentally overwrote with xcopy?

Today I got the arguments backwards when issuing xcopy. This caused my source folder to be overwritten. The system is Windows 2003 with standard NTFS. No special backup solutions running. Is there ...
Frank Krueger's user avatar