Vai HKLM ir HKEY_LOCAL_MACHINE aizstājvārds?

Satura rādītājs:

Vai HKLM ir HKEY_LOCAL_MACHINE aizstājvārds?
Vai HKLM ir HKEY_LOCAL_MACHINE aizstājvārds?

Video: Vai HKLM ir HKEY_LOCAL_MACHINE aizstājvārds?

Video: Vai HKLM ir HKEY_LOCAL_MACHINE aizstājvārds?
Video: 15 Amazing Shortcuts You Aren't Using - YouTube 2024, Aprīlis
Anonim
Dažreiz, strādājot ar Windows, jūs redzat visu veidu vārdus, saīsinājumus un identifikatorus, piemēram, HKLM un HKEY LOCAL MACHINE. Vai HKLM ir tikai HKEY LOCAL MACHINE aizstājvārds vai ir atšķirības starp abiem? Šodienas SuperUser Q & A ziņai ir atbildes uz ziņkārīgo lasītāja jautājumu.
Dažreiz, strādājot ar Windows, jūs redzat visu veidu vārdus, saīsinājumus un identifikatorus, piemēram, HKLM un HKEY LOCAL MACHINE. Vai HKLM ir tikai HKEY LOCAL MACHINE aizstājvārds vai ir atšķirības starp abiem? Šodienas SuperUser Q & A ziņai ir atbildes uz ziņkārīgo lasītāja jautājumu.

Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.

Ekrānuzņēmums pieklājīgi no Wandersick (Flickr).

Jautājums

SuperUser lasītājs Joe Kearney vēlas uzzināt, vai HKLM ir tikai HKEY_LOCAL_MACHINE aizstājvārds vai ja reizēm pastāv atšķirības starp diviem:

HKLM is often used as an abbreviation for HKEY_LOCAL_MACHINE, but unexpectedly, this also appears to be true when I ask the Reg. for a value.

  • C:>reg query “HKLMSOFTWAREMicrosoftWindows NTCurrentVersion” /v “CurrentVersion” HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion CurrentVersion REG_SZ 6.1
  • C:>reg query “HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion” /v “CurrentVersion” HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion CurrentVersion REG_SZ 6.1

Are there any references asserting that they are equivalent or that one is an alias for the other? Or are there, in fact, cases where they are not the same thing?

Vai HKLM ir tikai HKEY_LOCAL_MACHINE aizstājvārds vai tiešām ir dažas atšķirības starp diviem?

Atbilde

SuperUser atbalstītāji Twinkles un john smith ir atbilde mums. Pirmais uz augšu, Twinkles:

No, although HKLM is an abbreviation for HKEY_LOCAL_MACHINE, there is no official statement from Microsoft that it is always equivalent. In fact, it explicitly states that the availability of these shortcuts depend on the software being used and they are generally referred to as commonly used abbreviations.

There are cases where abbreviating HKEY_LOCAL_MACHINE to HKLM is not permitted, for instance when defining a policy.

Seko atbilde no Džons Smits:

You also cannot use these abbreviations in.reg files, you have to write the full name inside the square scopes there.

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: