Windows 7 System Right Key shortcut problem

Source: Internet
Author: User

  We are in Win 7 right key cannot create a new shortcut problem, the question describes as the title, below record the solution, view with. LNK related registry information, save the following code to A.bat run.

  Description of the title, the following record of the solution:   First, view the registry information related to. lnk, save the following code to A.bat run:   C # code   REG Query hkcr.lnk/s >   %userprofile%desktopregquery.txt "&start Notepad"%userprofile%desktopregquery.txt "  This code finds the settings for the. lnk (shortcut) in the registry, saves the search results to the RegQuery.txt file on the desktop, and then opens the file.     Second, to view the search information, my information is as follows:   RegQuery.txt   Hkey_classes_root.lnk   (Default) REG_SZ Lnkfile   Hkey_classes_root.lnkshellex   Hkey_classes_root.lnkshellex   (Default) REG_SZ   HKEY_CLASSES_ROOT . Lnkshellex   (default) REG_SZ   Hkey_classes_root.lnkshellex   (default) REG_SZ   Hkey_classe S_root.lnkshellex   (Default) REG_SZ   hkey_classes_root.lnkshellnew   Handler REG_SZ   ICONPA Th REG_EXPAND_SZ%systemroot%system32shell32.dll,-16769   itemname REG_SZ @shell32. dll,-30397   MenuText REG _SZ @shell32. dll,-30318   Nullfile REG_SZ   Command REG_SZ Rundll32.exe Appwiz.cpl,newlinkheRe%1-------> bold ~ ~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   Hkey_classes_ Root.lnkshellnewconfig   Dontrename REG_SZ   Bold Row is the problem, shellnew command if the above situation, then need to modify. (The above registry condition is applicable to XP ...).   Third, fix the problem (just remove the Command line), save the following code to B.bat, run:   C # code   REG delete hkcr.lnkshellnew/v command/f &   nbsp This line of code deletes the command line in Shellnew, and then right--> The new-> shortcut when it's done. I've been able to create a new shortcut successfully.   IV, after fixing the problem the LNK related registry information is as follows:   RegQuery.txt writes   Hkey_classes_root.lnk   (default) REG_SZ Lnkfile &nbsp   ; Hkey_classes_root.lnkshellex   Hkey_classes_root.lnkshellex   (default) REG_SZ   Hkey_classes_root.lnkshel LEx   (default) REG_SZ   Hkey_classes_root.lnkshellex   (default) REG_SZ   Hkey_classes_root.lnkshellex   (default) REG_SZ   Hkey_classes_root.lnkshellnew   Handler REG_SZ   IconPath REG_EXPAND_SZ%syste mroot%system32shell32.dll,-16769   ItemName REG_SZ @shell32. dll,-30397 &nbsP MenuText REG_SZ @shell32. dll,-30318   Nullfile REG_SZ   Hkey_classes_root.lnkshellnewconfig   Dontren Ame REG_SZ  ----EOF----  Through the above examples, can solve the problem!  
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.