Questions tagged [xcopy]

35 questions
0
votes
1 answer

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:\somefolder /E /H /Y My problem is that I'd like…
nute
  • 791
  • 2
  • 11
  • 22
0
votes
0 answers

"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, which as worked perfectly. However, I have created an…
0
votes
0 answers

How to delete files in destination folder that are already present in source folder

I got two folders, a source S with files (and subfolders and so on): a.txt b.txt c.txt ... and a destination folder D with files: a.txt b.txt b1.txt c.txt c2.txt ... and I want to delete all files in D that are already present in S, so that D…
Thomas P
  • 11
  • 5
0
votes
0 answers

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-log.txt C:\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf.exe…
0
votes
1 answer

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 all of these files, so I end up with potentially…
1 2
3