Foro de elhacker.net

Programación => Scripting => Mensaje iniciado por: Darioxhcx en 9 Septiembre 2008, 16:28 pm



Título: poner tu nombre al lado del reloj .bat
Publicado por: Darioxhcx en 9 Septiembre 2008, 16:28 pm
taba sin internet el finde semana csm u.u

y salio esto xD
Código
  1. @echo off
  2. mode con lines=10
  3. mode con cols=33
  4. title ..:: Created By Darioxhcx ::..
  5. echo escribi el nombre..
  6. set /p var=
  7. reg add "HKEY_CURRENT_USER\Control Panel\International" /v s1159 /t REG_SZ /d %var% /f
  8. reg add "HKEY_CURRENT_USER\Control Panel\International" /v s2359 /t REG_SZ /d %var% /f
  9. reg add "HKEY_CURRENT_USER\Control Panel\International" /v sTimeFormat /t REG_SZ /d "HH:mm:ss tt" /f
  10. reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v s1159 /t REG_SZ /d %var% /f
  11. reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v s2359 /t REG_SZ /d %var% /f
  12. reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v sTimeFormat /t REG_SZ /d "HH:mm:ss tt" /f
  13. cls
  14. msg * Si no esta el nombre en la barra de herramientas.. es necesario reiniciar
  15. set /p xD=desea reiniciar [y/n]..
  16. if %xD%==%xD% goto %xD%
  17. :y
  18. shutdown -r -t 05 -c "By Darioxhcx" & GoTo :EoF
  19. :n
  20. msg * buee matate keres xD (?
keda asi
(http://img140.imageshack.us/img140/8436/dibujoyz5.jpg)

Saludos


Título: Re: poner tu nombre al lado del reloj .bat
Publicado por: aaronduran2 en 14 Septiembre 2008, 01:27 am
En vez de reiniciar, se podría cerrar el proceso explorer.exe y luego volver a ejecutarlo. Los cambios se muestran igual.

Saludos.