Está en la página 1de 7

COMANDOS PARA USAR EN BLOC DE NOTAS

1. Pantalla de matrix
@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%
%random%%random%
goto tricks

2. Haz que tu ordenador hable desde el bloc de notas

Dim Message, Speak


Message=InputBox("Introduce el texto que quieres escuchar")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message

3. Generar contraseñas

@echo off
:Start2
cls
goto Start
:Start
title Generador de contraseñas
echo I will make you a new password.
echo Please write the password down somewhere in case you forget it.
echo —————————————-¬———————–
echo 1) 1 Random Password
echo 2) 5 Random Passwords
echo 3) 10 Random Passwords
echo Input your choice
set input=
set /p input= Choice:
if %input%==1 goto A if NOT goto Start2
if %input%==2 goto B if NOT goto Start2
if %input%==3 goto C if NOT goto Start2
:A
cls
echo Your password is %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:Exit
exit
:B
cls
echo Your 5 passwords are %random%, %random%, %random%, %random%,
%random%.
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2
:C
cls
echo Your 10 Passwords are %random%, %random%, %random%, %random%,
%random%, %random%, %random%, %random%, %random%, %random%
echo Now choose what you want to do.
echo 1) Go back to the beginning
echo 2) Exit
set input=
set /p input= Choice:
if %input%==1 goto Start2 if NOT goto Start 2
if %input%==2 goto Exit if NOT goto Start 2

4. Iniciar CMD

@echo off
Start
Exit

5. Crear mensajes

@echo off
Msg * hola como estas

6. Hacer un menú
@echo off
:Menu
cls
echo Seleccione su opcion tecleando el numero respectivo.
echo.
echo 1. Primera Opcion
echo 2. Segunda Opcion
echo 3. Salir
set /p var=
if %var%==1 goto : primero (esto va junto pero tuve que separarlo por que se
ponen las caritas)
if %var%==2 goto :Segundo
if %var%==3 goto exit
if %var% GTR 3 echo Error
goto :Menu
: Primero (este va junto el ":" y "primero" para que funcione)
cls
color a
Echo Esta es la Primera Opcion
Echo Precione una tecla para volver al menu
Pause>Nul
goto :Menu
:Segundo
cls
color 1a
Echo Esta es la Segunda Opcion
Echo Precione una tecla para volver al menu
Pause>Nul
goto :Menu

7. Apagar o reiniciar el pc

shutdown -s -t -c "Comentario"

8. Habilitar red de wifi


@echo Presiona la tecla Enter para habilitar la Red WIFI
@echo Nombre:DOWNLOADSOURCEES Contraseña:123456789
PAUSE
netsh wlan set hostednetwork mode=allow ssid=DOWNLOADSOURCEES
key=123456789
netsh wlan start hostednetwork
@echo RED WIFI activada
PAUSE
exit

9. Ejecutar comando de powershell

@ECHO OFF
PowerShell.exe -Command "C:\Users\juanm\Documents\Desactivar sonido al
desconectar auriculares.PS1"

10. Mensajes atemorizantes de virus

@echo off
echo Wscript.Sleep
echo Wscript.Sleep 5000>C:\sleep5000.vbs
echo Wscript.Sleep 3000>C:\sleep3000.vbs
echo Wscript.Sleep 4000>C:\sleep4000.vbs
echo Wscript.Sleep 2000>C:\sleep2000.vbs
cls
ECHO Examinando sistema......
start /w wscript.exe C:\sleep3000.vbs
cd %systemroot%\System32
dir
start /w wscript.exe C:\sleep2000.vbs
echo.
echo.
echo Eliminando archivos criticos del sistema...
echo del *.*
start /w wscript.exe C:\sleep3000.vbs
CLS
echo Eliminados con exito!
start /w wscript.exe C:\sleep2000.vbs
echo Eliminando entradas del registro...
start /w wscript.exe C:\sleep2000.vbs
echo del %USERPROFILE%\NTUSER.DAT
start /w wscript.exe C:\sleep4000.vbs
CLS
echo Eliminadas con exito!
start /w wscript.exe C:\sleep2000.vbs
echo Iniciar ejecutable virus?
start /w wscript.exe C:\sleep3000.vbs
echo cd C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start
Menu\h4x
echo Iniciar hax.exe
start /w wscript.exe C:\sleep3000.vbs
echo Iniciado ejecutable!
start /w wscript.exe C:\sleep2000.vbs
echo Deshabilitando Windows Firewall...
start /w wscript.exe C:\sleep2000.vbs
echo Eliminando procesos...
start /w wscript.exe C:\sleep2000.vbs
echo Permitiendo inicio...
start /w wscript.exe C:\sleep2000.vbs
echo Virus ejecutado con exito!
start /w wscript.exe C:\sleep2000.vbs
echo Tienes suerte, has sido infestado con el virus hackBLACK!
start /w wscript.exe C:\sleep2000.vbs
echo Ahora solo tienes que volver a instalar Windows.
pause
:: shutdown -s -t 30 -c "Haz cometido un gran error. Que tengas un dia feliz.."

También podría gustarte