Jump to content
Belini

Iniciar outro programa no lugar do explorer

Recommended Posts

Quando quero abrir outro programa no lugar do explorer altero no registro e sempre funcionou mas um cliente disse que no windows 10 não está funcionando, alguém sabe dizer se no windows 10 os comandos são diferentes?

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "Shell", "REG_SZ", @ScriptDir & "\Meu Programa.exe")

 

Share this post


Link to post
Share on other sites

se for x64

RegWrite("HKLM64\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "Shell", "REG_SZ", "programa.exe")

x86

RegWrite("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "Shell", "REG_SZ", "programa.exe")

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×