Windows 7 Forums


Windows 7: xcopy - destination folder becomes a hidden system folder - why?

09 Jun 2012   #1

Windows 7 64bit
 
 
xcopy - destination folder becomes a hidden system folder - why?

Hi,

I've created a batch file containing the xcopy command to copy the entire partitioned drive to a folder on an external hard drive. However, when it is executed it works fine but the destination folder, called Backup, becomes a hidden system folder. Does any one know why this is the happening. I'm performing the xcopy on my parents computer, which is on Windows 7.
Code is as follows:

REM This copies the intire H drive (Laptop Parition) to G drive (Segatemega Drive)
xcopy H:\ G:\Backup /D /E /C /R /I /K /Y



Cheers
My System SpecsSystem Spec

10 Jun 2012   #2

Windows 7 Home Premium x64 SP1
Bay Area Peninsula
 
 

Not my forte but I believe adding the attribute to remove hidden and system would work. Not sure about the syntax, but since you seem to have a handle on it, something like:

xcopy H:\ G:\Backup /D /E /C /R /I /K /Y
attrib -h -s G:\Backup

Microsoft Corporation
My System SpecsSystem Spec
10 Jun 2012   #3

Windows 7 Pro X64
Space Coast of Florida
 
 

The Recycle Bin in the root of each drive is a Hidden, System file so I'm wondering if that is causing the problem.

I just tried basically the same command and I also end up with the Backup folder being SHD.

If I change the xcopy command to xcopy H:\*.* G:\Backup /D /E /C /R /I /K /Y it then the H and S attributes are not set.
My System SpecsSystem Spec
.


Reply

 xcopy - destination folder becomes a hidden system folder - why? problems?



Thread Tools



Similar help and support threads for: xcopy - destination folder becomes a hidden system folder - why?
Thread Forum
Bluetooth destination folder trouble! Network & Sharing
Solved Virus made the windows folder a hidden system folder System Security
Windows 7 Destination Folder access denied Network & Sharing
Destination Folder Access Denied General Discussion
Destination folder access denied General Discussion


All times are GMT -5. The time now is 03:13 AM.



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