0% found this document useful (0 votes)
27 views2 pages

3 Trucos en El Bloc de Notas

This document contains code to generate random passwords in batch files and make text to speech in Windows. It includes code to generate a single random password, 5 random passwords, or 10 random passwords. It also contains code to take user input text and have the computer speak it aloud.

Uploaded by

miguel zurita
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views2 pages

3 Trucos en El Bloc de Notas

This document contains code to generate random passwords in batch files and make text to speech in Windows. It includes code to generate a single random password, 5 random passwords, or 10 random passwords. It also contains code to take user input text and have the computer speak it aloud.

Uploaded by

miguel zurita
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Pantalla de Matrix

@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks

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

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

You might also like