Windows7 Right Key quick question answer

Source: Internet
Author: User

Windows7 Right key cannot create a new shortcut problem, the problem describes the title, the following record the solution to view the registry information related to. lnk, save the following code to run A.bat.

The problem describes the title, the following record of the solution:

1, view the registry information related to. lnk, and 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.

2, 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_classes_root.lnkshellex

(Default) Reg_SZ

Hkey_classes_root.lnkshellnew

Handler REG_SZ

IconPath 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

A bold line is the problem, shellnew command if the above situation, then need to modify. (The above registry condition is applicable to XP ...)

3, Fix the problem (only need to delete command this line is good), save the following code to B.bat, run:

C # code

Reg delete hkcr.lnkshellnew/v command/f

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.

4, fix the problem after the LNK related registry information as follows:

RegQuery.txt wrote

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_classes_root.lnkshellex

Default Reg_SZ

Hkey_classes_root.lnkshellnew

Handler REG_SZ

IconPath REG_EXPAND_SZ%systemroot%system32shell32.dll,-16769

ItemName REG_SZ @shell32. dll,-30397

MenuText REG_SZ @shell32. dll,-30318

Nullfile REG_SZ

Hkey_classes_root.lnkshellnewconfig

Dontrename REG_SZ

----EOF----

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.