# Compare and delete?

**URL:** https://resource.dopus.com/t/compare-and-delete/13861
**Category:** Help & Support
**Created:** [September 3, 2012, 3:19pm UTC](https://resource.dopus.com/t/compare-and-delete/13861 "2012-09-03T15:19:08Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![Vic](https://resource.dopus.com/letter_avatar_proxy/v4/letter/v/9e8a1a/32.png) [@Vic](https://resource.dopus.com/u/Vic)
#### Post date: [September 7, 2012, 10:51am UTC](https://resource.dopus.com/t/compare-and-delete/13861/21 "2012-09-07T10:51:55Z")

</div>

> [@aussieboykie](#):
>
> [quote="Vic"]Beyond compare does not seem to always search subfolders. Sometimes files appear and then disappear right away tooo.is there also a way to let it compare the entire hard drive ?

Vic, you should ask Beyond Compare questions on the [Scooter Software forums](http://www.scootersoftware.com/vbulletin/).  
Regards, AB[/quote]

Ok, I'll ask on BC questions on the BC forums.

[quote]  
Re your specific question, BC3 can certainly compare two disk structures - e.g. C:\ and D:.[/quote]

I did try but I must be doing something wrong because it's not working for me.

---

<div class="post-metadata">

### Author: ![AKA-Mythos](https://resource.dopus.com/user_avatar/resource.dopus.com/aka-mythos/32/26158_2.png) [@AKA-Mythos](https://resource.dopus.com/u/AKA-Mythos)
#### Post date: [September 7, 2012, 11:10am UTC](https://resource.dopus.com/t/compare-and-delete/13861/22 "2012-09-07T11:10:34Z")

</div>

Vic,  
give that solution a try:

1. Download freeware version of xxcopy  
[http://xxcopy.com/download/xxfw3112.zip](http://xxcopy.com/download/xxfw3112.zip)

2. Unzip the archive and open a command-line in the appropriate subdir (32/64 bit)

3. Install xxcopy to your system by calling:  
xxcopy.exe /install

4. Start the removal command to find out if that is what you asked for:

```auto
xxcopysu.exe [i]{sourcepath$} {destpath$}[/i] /BS /RD /E /H /YY /PB
```

Example:

```auto
xxcopysu.exe D:\Source\ D:\Target\ /BS /RD /E /H /YY /PB
```

---

<div class="post-metadata">

### Author: ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)
#### Post date: [September 10, 2012, 1:32am UTC](https://resource.dopus.com/t/compare-and-delete/13861/23 "2012-09-10T01:32:38Z")

</div>

> [@Vic](#):
>
> I did try but I must be doing something wrong because it's not working for me.

Vic

I use a couple of 3-button buttons with the LMB invoking Opus built-in Sync and the RMB invoking Beyond Compare. The first button operates on the current top level folder which can, of course, be the root folder of a drive - e.g. C:. The second button operates on a selected folder.

![](https://resource.dopus.com/uploads/default/original/3X/0/8/08b79d1af321afa1fcd2c2d93b61c131f18b5318.png)

LMB1 code:

`@nodeselect
Go "{sourcepath$}" DUALPATH "{dlgstring|Type a drive letter..|E}:\{sourcepath$|noroot}" LAYOUT=SyncLock`

RMB1 code:

`@nodeselect
@nofilenamequoting 
@set dir={alias|homeroot}\utilities\BC3\
@set app=Bcompare.exe
cd {$dir}
{$dir}{$app} "{sourcepath$}" "{dlgstring|Type a drive letter..|E}:\{sourcepath$|noroot}"`

LMB2 code:

`@dirsonly
@nodeselect
Go "{filepath$}" DUALPATH "{dlgstring|Type a drive letter..|E}:\{filepath$|noroot}" LAYOUT=SyncLock`

RMB2 code:  
@dirsonly  
@nodeselect  
@nofilenamequoting  
@set dir={alias|homeroot}\utilities\BC3  
@set app=Bcompare.exe  
cd {$dir}  
{$dir}{$app} "{filepath$}" "{dlgstring|Type a drive letter..|E}:{filepath$|noroot}"[/code]

I use Beyond Compare portable. You will need to change the @set dir= definitions above to point to where your Bcompare.exe is located.  
For the internal commands, I use a saved layout called "SyncLock" to activate the synchronise utility panel and force navigation lock on.  
My default target drive is E: simply because that is where I keep my local backups. The commands allow overriding the default.

Regards, AB

[Previous page](https://resource.dopus.com/t/compare-and-delete/13861.md?page=1)
