Ademuzun Posted March 24, 2021 Share Posted March 24, 2021 Aşagıdaki registry kaydında kullanıcı ismi kurulan pc ye göre otomatik tanımlansın istiyorum nasıl yaparım. FName , LName kurulan pc adı olacak RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", "..........") RegWrite("HKLM\Software\Internet Download Manager", "LName", "REG_SZ", "...........") Quote Link to comment Share on other sites More sharing options...
KiNGHaZe Posted March 24, 2021 Share Posted March 24, 2021 RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) RegWrite("HKLM\Software\Internet Download Manager", "LName", "REG_SZ", @UserName) Hem 1.isme hem 2.isme yazdırırsan 2 kere yazılmış olacak. KiNGHaZe KiNGHaZe Şeklinde çıkar. Bunun yerine sadece RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) RegWrite("HKLM\Software\Internet Download Manager", "LName", "REG_SZ", "Buraya kendi nick nameni ekleyebilirsin.") 1 Quote Link to comment Share on other sites More sharing options...
Ademuzun Posted March 24, 2021 Author Share Posted March 24, 2021 (edited) KiNGHaZe, 15 dakika önce yazdı: RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) RegWrite("HKLM\Software\Internet Download Manager", "LName", "REG_SZ", @UserName) Hem 1.isme hem 2.isme yazdırırsan 2 kere yazılmış olacak. KiNGHaZe KiNGHaZe Şeklinde çıkar. Bunun yerine sadece RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) RegWrite("HKLM\Software\Internet Download Manager", "LName", "REG_SZ", "Buraya kendi nick nameni ekleyebilirsin.") Üstad Nerede hata yapıyorum.? RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) Please register to see this content. Edited March 24, 2021 by Ademuzun Quote Link to comment Share on other sites More sharing options...
KiNGHaZe Posted March 24, 2021 Share Posted March 24, 2021 Önceki kayıtları elinle sil. Hem bahsedilen yerden hemde HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Internet Download Manager buradan. If @OSArch = "x86" Then RegWrite("HKLM\Software\Internet Download Manager", "FName", "REG_SZ", @UserName) ElseIf @OSArch = "x64" Then RegWrite("HKLM\Software\WOW6432Node\Internet Download Manager", "FName", "REG_SZ", @UserName) EndIf Bu şekilde yap. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.