Delphi plus registry self-starting code

xiaoxiao2021-03-05  23

Uses registry

; Var REG: TREGISTRY

;

Begin reg: = Tregistry.create

Reg.RootKey: = HKEY_LOCAL_MACHINE

Reg.openkey ('Software / Microsoft / Windows / CurrentVersion / Run', TRUE

); reg.writestring ('scanregistry ",' mir47.exe '

Reg.closekey

; Reg.free

; END

.

转载请注明原文地址:https://www.9cbs.com/read-32031.html

New Post(0)