![]() |
|
09 Jun 2012 | #1 |
|
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 win7. 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 Specs![]() |
. |
|
10 Jun 2012 | #2 |
![]() |
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 Specs![]() |
10 Jun 2012 | #3 |
|
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 Specs![]() |
. |
|
![]() |
Thread Tools | |
Similar help and support threads | ||||
Thread | Forum | |||
Xcopy - properties of destination and source aren't identical I'm copying some files off an HDD (which is in an enclosure) to a WD external drive. I've tried Xcopy and to verify that the source and destination are the same (to ensure the copy was successful), I right click, select properties and check that the size and # of files in the source and... |
Backup and Restore | |||
System folder c/users files are hidden Hi guys, Ran into a bit of a problem that I cant see to get around. Hopefully someone can help me out here. I was working on an androidstudio project and had to install an emulator which required me to go into the AppData path in c/. Long story short, I couldnt find it so I played around with... |
General Discussion | |||
Folder Option problem - Hidden folder is not Hidden Hello my name is kslim So I don't know when since my computer's hidden folder doesn't hidden anymore the folder should be in semitransparent but it doesn't look like it I've check the folder option and yet it didn't solve the problem :confused: Any help would be grateful for me Thanks |
General Discussion | |||
"Destination Folder Access Denied" when modifying Program Files folder http://i.imgur.com/vIYQnPp.png Destination Folder Access Denied ------------------------------------ You'll need to provide administrator permission to copy to this folder. <Folder/Sub-Folder Name> Date created: <Creation Date> ------------------------------------ Continue Skip |
General Discussion | |||
Virus made the windows folder a hidden system folder I got a virus on my pc, and the windows foulder became a hidden system foulder I then scanned it with norton, it removed the virus, and now it wants me to reboot, is it safe to reboot? |
System Security |
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 23:10. |
![]() ![]() ![]() ![]() ![]() |