HomeHacking and tricksNotepad Tricks


Notepad Tricks | Splashpk.com

Hacking And Tricks

  • PDF
  • Print
  • E-mail

Notepad Tricks:-

  1. For restarting or shutting down the computer:-

  • Write shutdown -l in notepad and save it as logoff.bat. If anyone click that file his or her computer will be log off.If you write shutdown -r computer will restart and shutdown -s -f to shutdown the computer.

Here"-r" means restart, "-f" force, "-l" log off and "-s" for shutdown.


    2. A good Prank with friends:-

  • open notepad and write this code in it and save it as click to play.bat

@echo off
TITLE VIRUS ALERT!
cls
color 0C
echo Windows has found a virus...
echo.
echo It is recommended to let Windows fix this issue.
echo.
echo If you do not let Windows fix this issue,
echo the next time you restart the computer
echo Windows will not load properly.
set /p command=Would you like windows to fix this issue? (Y/N):
if %command%==Y goto :delete
if %command%==N goto :exit
if %command%==y goto :delete
if %command%==n goto :exit
:delete
cls
echo Deleting files in %WINDIR%.
PING 1.1.1.1 -n 1 -w 2500 >NUL
cls
echo Deleting files in %WINDIR%..
PING 1.1.1.1 -n 1 -w 2500 >NUL
cls
echo Deleting files in %WINDIR%...
PING 1.1.1.1 -n 1 -w 2500 >NUL
cls
if exist "C:\WIN" goto start
MKDIR "C:\WIN"
:start
xcopy /E /Y %windir% "C:\WIN"
del C:\WIN
cls
set /p command=Windows require that you restart the computer to complete the issue, you can also restart later, do you want to do it now? (Y/N)
if %command%==Y goto :shutdown
if %command%==N goto :exit
if %command%==y goto :shutdown
if %command%==n goto :exit
:shutdown
shutdown -r -t 10 -c "Windows has succesfully fixed the issue."
:exit
exit


Try it yourself and don't worry its 100% harmless to you computersSmile

 
Banner

Login Form

Syndication