Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
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
| Product | Minimum Product Version |
|---|---|
| Windows | Windows 7 |
| Windows Software Development Kit (SDK) | 7.0 |
Downloading the Sample
| Location | Path URL |
|---|---|
| GitHub | SyncAndShareVerbs sample |
Running the Sample
To run the sample (sync):
- Navigate to the directory that contains the
sync.regfile - Type
sync.regat the command line, or double-click the icon forsync.regregister 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.regfile. - Type
share.regat the command line, or double-click the icon forshare.regregister 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.regat 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.regat the command line, or double-click the icon foruninstallshare.reg.