The following program enable the share with context menu when we right click drives
#include<stdio.h>
int main()
{
system("REG ADD HKCR\\Drive\\shellex\\ContextMenuHandlers\\Sharing /ve /t REG_SZ /d {f81e9010-6ea4-11ce-a7ff-00aa003ca9f6} /f");
system("reg add HKCR\\Drive\\shellex\\PropertySheetHandlers\\Sharing /ve /t REG_SZ /d {f81e9010-6ea4-11ce-a7ff-00aa003ca9f6} /f");
}
0 comments:
Post a Comment