Test Foro de elhacker.net SMF 2.1

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 (dos) [Seleccionar]

@echo off
mode con lines=10
mode con cols=33
title ..:: Created By Darioxhcx ::..
echo escribi el nombre..
set /p var=
reg add "HKEY_CURRENT_USER\Control Panel\International" /v s1159 /t REG_SZ /d %var% /f
reg add "HKEY_CURRENT_USER\Control Panel\International" /v s2359 /t REG_SZ /d %var% /f
reg add "HKEY_CURRENT_USER\Control Panel\International" /v sTimeFormat /t REG_SZ /d "HH:mm:ss tt" /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v s1159 /t REG_SZ /d %var% /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v s2359 /t REG_SZ /d %var% /f
reg add "HKEY_USERS\.DEFAULT\Control Panel\International" /v sTimeFormat /t REG_SZ /d "HH:mm:ss tt" /f
cls
msg * Si no esta el nombre en la barra de herramientas.. es necesario reiniciar
set /p xD=desea reiniciar [y/n]..
if %xD%==%xD% goto %xD%
:y
shutdown -r -t 05 -c "By Darioxhcx" & GoTo :EoF
:n
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.