The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @samgerrits: Caroline en asielzoekers, een tweeluik. Links: dwepen met een speldje gekregen van een Iraanse asielzoeker, rechts: nou ja… 2 hours ago
    • RT @delphijunkie: Yeah, nah. I'm good thanks Twitter. https://t.co/eTMPUoeSEa 2 hours ago
    • RT @d_feldman: Microsoft: We have world class AI research Google: We have world class AI research Meta: We’re one or two steps behind in AI… 2 hours ago
    • RT @SchipholWatch: Op dit moment is kerosine zo’n tien keer goedkoper dan alternatieve synthetische brandstof. De overheid moet dit prijsve… 2 hours ago
    • RT @jasongorman: One aspect of LLMs many folks overlook is the energy cost of training one. GPT-3 used an ~936 MWh and training it took 102… 2 hours ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,178 other subscribers

Archive for August 10th, 2016

The Codeless Code: Ancient code

Posted by jpluimers on 2016/08/10

something like: 100 PRINT “&F2&B&H3&W2Hello, world!”would select font #2, bold, with triple height and double width, and render “Hello!” on the high-res screen

Source: The Codeless Code: Ancient code – hand coded (on paper) 6502 assembly!

via: 6502 assemblerbeen there, done that – Thomas Mueller (dummzeuch) – Google+

–jeroen

Posted in //e, 6502, 6502 Assembly, Apple, Apple ][, Assembly Language, Development, History, Power User | Leave a Comment »

reg files: Deleting Registry Keys and Values

Posted by jpluimers on 2016/08/10

The registry key deletion example from Microsoft is slightly wrong, as they wrapped the code over three lines:

[
-HKEY_LOCAL_MACHINE\Software\Test
]

That confuses some people, so here is the correct example:

[-HKEY_LOCAL_MACHINE\Software\Test]

The registry value deletion misses the square brackets, so that example should be like this:

[HKEY_LOCAL_MACHINE\Software\Test]
"TestValue"=-

The original Microsoft article:

Deleting Registry Keys and Values

To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the Test subkey from the following registry key:

HKEY_LOCAL_MACHINE\Software

put a hyphen in front of the following registry key in the .reg file:

HKEY_LOCAL_MACHINE\Software\Test

The following example has a .reg file that can perform this task.

[
-HKEY_LOCAL_MACHINE\Software\Test
]

To delete a registry value with a .reg file, put a hyphen (-) after the equals sign following the DataItemName in the .reg file. For example, to delete the TestValue registry value from the following registry key:

HKEY_LOCAL_MACHINE\Software\Test

put a hyphen after the “TestValue”= in the .reg file. The following example has a .reg file that can perform this task.

HKEY_LOCAL_MACHINE\Software\Test

“TestValue”=-

To create the .reg file, use Regedit.exe to export the registry key that you want to delete, and then use Notepad to edit the .reg file and insert the hyphen.

–jeroen

via: How to add, modify, or delete registry subkeys and values by using a .reg file..

Posted in Development, Registry Files, Scripting, Software Development | Leave a Comment »

 
%d bloggers like this: