Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: XCOPY /EXCLUDE:EXCLUDES.txt - "Can't read file"

25 Jul 2017   #1

Windows 7
XCOPY /EXCLUDE:EXCLUDES.txt - "Can't read file"

The attached TESTprodExcludeSyncMTACDocumentation.cmd (disguised as .txt file for upload) file has been executed successfully on a Windows 10 desktop, but results in the "Can't read file" condition when executed on a Windows 7 desktop. Any suggestions as to how to successfully run on Windows 7 desktop gratefully accepted.

FYI have tried:

"EXCLUDES.txt" results in "Can't read file"
".\EXCLUDES.txt" results in "Can't read file"
EXCLUDES.txt results in File not found - *.*

Also included is "07_24_2017 TEST RESULTS.txt" the DOS window runtime execution log; and "EXCLUDES.txt" the file in question.

Thanks in advance for any and all help.

Attached Files
File Type: txt TESTprodExcludeSyncMTACDocumentation .txt (1.5 KB, 4 views)
File Type: txt 07_24_2017 TEST RESULTS.txt (1.9 KB, 2 views)
File Type: txt EXCLUDES.txt (379 Bytes, 0 views)
My System SpecsSystem Spec

 XCOPY /EXCLUDE:EXCLUDES.txt - "Can't read file"

Thread Tools

Similar help and support threads
Thread Forum
Using the "Exclude Disks" Option in system image restore??!
:confused:I have a computer that is dual booted with windows 7 and windows 10. My windows 7 operating system is very slow and malfunctioning. But I have an old system image backup when my windows was healthy and fast. So I want to restore Windows 7 from this image. But I don't want to format and...
Backup and Restore
Hard Disk can't read in "my computer ", "initialized",I/O device error
I have a big problem here, I have used my hard disk for 9month, Yesterday when I watched movie on the half way, My hard disk suddenly disfuntion, And I thought my laptop problem due to always lagging so I restart my computer. But after that I can't read my hard disk (WD)in my computer. It can...
Hardware & Devices
XCOPY "File not found - *" Error
I have attached a few images. This is a transfer between xp and 7. The My Videos folder does not exist in this instance but the others do and they do have files in them. What is going on here?
General Discussion
File and Folder - Add "Set and Unset as Read-only" to Context Menu
How to Add "Set and Unset as Read-only" to File and Folder Context Menu in Windows 7 and 8 This will add Read-only File Attributes and Read-only Folder Attributes to the context menu of files and folders for all users to be able to set or unset the read-only attribute of one or more selected...
"Read-Only" File Attribute
Windows 7 will delete "Read-Only" files without providing any warning (unlike XP).:mad: Windows Media Player 12 will overwrite files which have the "Read-Only" attribute set.:mad: Does anyone know how to make Windows 7 (& WMP) obey the "Read-Only" attribute on files?:confused:
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:06.
Twitter Facebook Google+