Issue with Robocopy only copying folders, not files, in Windows 7

Jenee

New member
Local time
7:19 AM
Messages
4
Location
Texas
Last week I used a robocopy tutorial on this site to create a backup script, and it was working fine. Today I tried to run this script, inputting new destination information but leaving everything else the same, and now it is copying all of the folders, but none of the files.

It counts a total of 509 Dirs but 0 files--no skipped, no mismatch, no failed.

My syntax/options are as follows:
robocopy "source folder" "destination folder" /E /tee /log.Public_backup log.txt
robocopy "source folder" "destination folder" /E /tee /log.Training_backup log.txt
pause


Does anyone see what might be causing this problem or have suggestions?

The source folder is directory:\folder and the destination folder is directory:\folder\subfolder\subfolder, if that matters.
 

My Computer My Computer

At a glance

Windows 7 Professional, 64-bitIntel Core i5-3340M CPU @ 2.70 GHz4 gb
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional, 64-bit
CPU
Intel Core i5-3340M CPU @ 2.70 GHz
Memory
4 gb
It should default to all files (*.*), but you could put the *.* in the command to see if it makes a difference.
i.e.
robocopy "source folder" "destination folder" *.* /E /tee /log.Public_backup log.txt

If that doesn't work can you post the actual commands you are using, with the real folder names ?
 

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
I just downloaded and installed RichCopy 4, good move on my part? Will I be able to do CMD-line with RichCopy like RoboCopy?
 

My Computer My Computer

At a glance

Windows 7 Professional 64-bitDesktop i5; Acers i5 & i7desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Antec desktop; Acer Aspire laptops
OS
Windows 7 Professional 64-bit
CPU
Desktop i5; Acers i5 & i7
Memory
desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Hard Drives
1TB split into 2 equal partitions [OS and data] usable by RJS
Internet Speed
AT&T DSL
Browser
FF, GChrome, msIE
Other Info
Windows 7 Firewall, Emsisoft AM/AV, MSE [scan-only], SpywareBlaster, Ruiware/BillP combine
@DavidE, I will try that next time I run into this issue. I was eventually able to get it to work--I removed the options and replaced them with the /MIR option, and then edited the commands so they were back to their original state--when I ran that, it worked and copied the files as well as the folders.

However, last Friday my supervisor attempted to run the Robocopy and told me that it only copied the folders for him. Not sure what the difference is between when it works and when it doesn't.

I will try your suggestion if this issue reoccurs and post an update to this thread.

Thanks for your help.
 

My Computer My Computer

At a glance

Windows 7 Professional, 64-bitIntel Core i5-3340M CPU @ 2.70 GHz4 gb
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Windows 7 Professional, 64-bit
CPU
Intel Core i5-3340M CPU @ 2.70 GHz
Memory
4 gb
Back
Top