|
#1
|
|||
|
|||
|
I don't know the exact reason it happens, my guess would be that when the
system files from the root of the drive are being copied into the root of the backup folder, Windows (for whatever reason) marks the folder as system and hidden. -- Posted 'as is'. If there are any spelling and/or grammar mistakes, they were a direct result of my fingers and brain not being synchronized or my lack of caffeine. "kkf718" <kkf718@discussions.microsoft.com> wrote in message news:EA3B9B9D-92C6-40C8-9029-7410876C9683@microsoft.com... > Thank you very much. Worked! Out of curiosity, do you know why my > problem > happened in the first place? If I hadn't tried to backup the whole drive > (previously I only used single directories to test the batch file) I never > would have troubleshot this. I noticed that my "empty" partition was > 60gigs > used up. > > "Mike Brearley" wrote: > >> Simply add in the following line at the end of the batch: >> >> attrib -s -h -r z:\%backdate% >> >> The -r may not be needed, but it doesn't hurt anything either. >> >> -- >> Posted 'as is'. If there are any spelling and/or grammar mistakes, they >> were a direct result of my fingers and brain not being synchronized or my >> lack of caffeine. >> >> >> "kkf718" <kkf718@discussions.microsoft.com> wrote in message >> news:73C67317-0679-49E2-9006-1DF5D83606F0@microsoft.com... >> >I am trying to backup files as a scheduled task using a batch file. I >> >am >> >not >> > using the /h switch with Xcopy, and it is not copying system files, but >> > the >> > directory it creates is hidden, hiding everything below it (the entire >> > backup). This happens when I Xcopy the root directory of a partition >> > (e:\), >> > but not a subdirectory (e:\p). Please help. Batch file below: >> > >> > set backdate=%date:~10,4%-%date:~4,2%-%date:~7,2% >> > xcopy e:\p\letters z:\%backdate% /e/y/i/c >> >> >> |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Max Number of Photos in Directory / Max Directory Size | Charax | Windows XP Photos | 0 | 01-05-2006 07:06 AM |
| sharing a windows xp professional directory on the LAN | Edward Letendre | Windows XP Network Web | 2 | 01-05-2006 04:10 AM |
| Cant seem to find found.000 directory | Lost files after startup failure!! | Windows XP Help and Support | 4 | 01-05-2006 02:51 AM |
| Directory Navigation extremely slow | jigbim | Windows XP Help and Support | 0 | 01-05-2006 02:50 AM |
| No drive letter? Hidden partition? R. Urban help? | Dixonian69 | Windows XP Hardware | 6 | 01-05-2006 02:19 AM |