Https://winhelponline.com/xp/sendtofix.htm के अनुसार , यह कुछ रजिस्ट्री प्रविष्टियों के साथ एक समस्या हो सकती है जो SendTo कार्यक्षमता का प्रबंधन करती हैं। उनके पास एक स्क्रिप्ट है जिसे उसे ठीक करना चाहिए।
यह मूल रूप से विंडोज एक्सपी, विस्टा और 7 के लिए था, इसलिए मैंने इसे विंडोज 10 के लिए काम करने के लिए थोड़ा बदलाव किया है।
निम्न स्क्रिप्ट को एक फ़ाइल fixsendto.vbs पर सहेजें , और कमांड प्रॉम्प्ट का उपयोग करके इसे निष्पादित करें wscript.exe "C:\Scripts\fixsendto.vbs"
। तदनुसार फ़ाइल पथ बदलें।
'-----------------------------------------------------------------
'Compatibility : Windows XP, Windows Vista and Windows 7 (added 8 and 10)
'Author : Ramesh Srinivasan - Microsoft MVP (Windows Shell)
'Created on : February 19, 2005
'Revised on : November 01, 2010
'Description : Fixes the Send To menu (missing all the shortcuts)
'Homepage : http://windowsxp.mvps.org
'More Info : http://windowsxp.mvps.org/sendtofix.htm
'Requirement : Needs Administrative privileges
'-----------------------------------------------------------------
Set WshShell = CreateObject("WScript.Shell")
strComputer = "."
Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2")
'Determine OS version
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
if instr(objOperatingSystem.Caption,"Vista") Or instr(objOperatingSystem.Caption,"Windows 7") Or instr(objOperatingSystem.Caption,"Windows 8") Or instr(objOperatingSystem.Caption,"Windows 10") then
strSendTo = "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo"
elseif instr(objOperatingSystem.Caption,"XP") Then
strSendTo = "%USERPROFILE%\SendTo"
else
MsgBox "This script runs in Windows 10/8/7/Vista/XP systems only"
wscript.Quit
end if
Next
USFolderPath = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
On Error Resume Next
WshShell.RegWrite "HKCR\exefile\shellex\DropHandler\", "{86C86720-42A0-1069-A2E8-08002B30309D}", "REG_SZ"
WshShell.RegWrite "HKCR\lnkfile\shellex\DropHandler\", "{00021401-0000-0000-C000-000000000046}", "REG_SZ"
WshShell.RegWrite USFolderPath & "\SendTo", strSendTo, "REG_EXPAND_SZ"
Wshshell.RUN ("regsvr32.exe shell32.dll /i /s")
'Get curr. user name
Set colItems = objWMIService.ExecQuery("Select * From Win32_ComputerSystem")
For Each objItem in colItems
strCurrentUserName = objItem.UserName
Next
'Restart user shell
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'Explorer.exe'")
For Each objProcess in colProcessList
colProperties = objProcess.GetOwner(strNameOfUser,strUserDomain)
If strUserDomain & "\" & strNameOfUser = strCurrentUserName then
objProcess.Terminate()
End If
Next
MsgUser = Msgbox ("Fixed the Send To menu.", 4160, "'Send To' menu fix for Windows 10/8/7/Vista/XP.")
Set WshShell = Nothing