I'd like to create a new
.reg file and add it to the registry, as suggested in this article.
REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf] @="@SYS:DoesNotExist"
It's pretty simple. But I want to script it. I thought I could just use
REG ADD, but I'm not sure how to incorporate the
@="@SYS:DoesNotExist" part at the end.