Sync and Share Verbs
Demonstrates how to register a verb that extends the "Sync" and "Share" verbs in the Windows Explorer Command Bar.
This topic contains the following sections.
- Requirements
- Downloading the Sample
- Running the Sample
- Removing the Sample
Requirements
Product | Minimum Product Version |
---|---|
Windows | Windows 7 |
Windows Software Development Kit (SDK) | 7.0 |
Downloading the Sample
This sample is available in the following locations.
Location | Path URL |
---|---|
Code Gallery | Windows Shell Integration Samples on Code Gallery |
Windows 7 SDK | Download Windows 7 SDK |
In the case of the Windows SDK, once you have downloaded and installed it, you will find the samples in the installed directory. For example, use of the default installation path for the Windows 7 SDK results in the samples being placed under C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\
.
Running the Sample
To run the sample (sync):
- Navigate to the directory that contains the
sync.reg
file - Type
sync.reg
at the command line, or double-click the icon forsync.reg
register it. - Open the Windows Explorer and select a file.
- Click the Sync option in the Command Bar and select a suboption such as Paint.
To run the sample (share):
- Navigate to the directory that contains the
share.reg
file. - Type
share.reg
at the command line, or double-click the icon forshare.reg
register it. - Open Windows Explorer and select a file. Click the Share option in the Command Bar.
- Click the Share with option in the Command Bar and select a suboption such as Paint.
Removing the Sample
To remove the sample (sync):
- Navigate to the directory that contains the Uninstallsync.reg file.
- Type
uninstallsync.reg
at the command line, or double-click the icon foruninstallsync.reg
.
To remove the sample (share):
- Navigate to the directory that contains the Uninstallshare.reg file.
- Type
uninstallshare.reg
at the command line, or double-click the icon foruninstallshare.reg.