Home / Tehnologie / Trucuri Windows pe care sigur nu le stiai (2)

Trucuri Windows pe care sigur nu le stiai (2)

In acest articol puteti gasi toate comenzile folosite in video-ul de pe canalul Tutoriale Gratuite. Pentru a accesa prima parte a acestei serii, puteti da click AICI.

1. Jocul in care trebuie sa ghicesti numarul (.bat)
@echo off
color 0e
title Guessing Game by seJma
set /a guessnum=0
set /a answer=%RANDOM%
set variable1=surf33
echo -------------------------------------------------
echo Welcome to the Guessing Game!
echo.
echo Try and Guess my Number!
echo -------------------------------------------------
echo.
:top
echo.
set /p guess=
echo.
if %guess% GTR %answer% ECHO Lower!
if %guess% LSS %answer% ECHO Higher!
if %guess%==%answer% GOTO EQUAL
set /a guessnum=%guessnum% +1
if %guess%==%variable1% ECHO Found the backdoor hey?, the answer is: %answer%
goto top
:equal
echo Congratulations, You guessed right!!!
echo.
echo It took you %guessnum% guesses.
echo.
pause

2. Generatorul de parole (.bat)

@echo off
:Start2
cls
goto Start
:Start
title Password Generator
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

3. Folder ascuns (.bat)
Quote:
Quote: cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

4. Text to Speech (.vbs)

Dim message, sapi
message=InputBox("What do you want me to say?","Speak to Me")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak message

5. Inchidere cu mesaj personalizat (.bat)

@echo off
Shutdown.exe -s -t 10
cls
msg * mesajul tau aici!

About Emi

Pasionat de domeniul IT, cu dorinta de a impartasi si altora din cunostinte. Student la Universitatea Politehnica Timisoara, Ingineria Sistemelor si Informatica Aplicata. Administrator al canalului de Youtube Tutoriale Gratuite.

Vezi si ...

Google a remediat erorile Play Store care ascundeau aplicațiile noi din rezultatele căutării

La sfârșitul lunii trecute, dezvoltatorii au început semnalarea unei probleme la căutarea aplicațiilor în Play Store. Conform rapoartelor, …

5 comments

  1. Salut , ma intrebam daca poti sa faci o comanda pentru a bloca stergerea unu folder ?
    eu am incercat si nu mi-a iesit ,ma intrebam daca poti sa faci chestia asta sau sa faci un video pe canal cu chestia asta . > have fun :”)

  2. Buna Tutoriale Gratuite (Emi) , vreau sa te intreb ai vrea sa facem o colaborare? nu sunt foarte popular dar vreau sa fac o animatie de tip ,,Animation vs. Animator”. Sa o postezi tu si doar sa-mi oferi credite!
    Astept raspuns pe e-mail.
    -Augustin de la CIRMACI EDUCATIV®

    © Copyright 2018 CIRMACI EDUCATIV®, Toate drepturile sunt rezervate.

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *