Wednesday

Easy and Useful Notepad Tricks


Do you know to open program using notepad ? If not, read this article.


Step 1. Open Notepad.

Step 2. Paste the following code in Notepad.


Set shell=CreateObject("wscript.shell")
Shell.Run("Notepad.exe")


If you want to open paint type mspaint. You can also open ms word and powerpoint.


Step 3. Save the file as name.vbs.

You can replace name with another name.

Step 4. Open the file. 


Open a program if password is correct


Step 1. Open Notepad.

Step 2. Paste the following code in Notepad.

Set shell=CreateObject("wscript.shell")
pass=inputbox("Enter a Password")
if pass="12345" then Shell.Run("Notepad.exe") else msgbox("Incorrect Password!")


Type any password place of 12345.


If you want to open paint, type mspaint place of Notepad.exe. You can also open ms word and powerpoint.


Step 3. Save the file as name.vbs.

You can replace name.

Step 4. Open the file. When you will open the file, it will ask you password, if you type correct password notepad will open, if you type incorrect password it will say incorrect password.


Open many programs at once


Step 1. Open Notepad.

Step 2. Paste the following code in Notepad.


Set shell=CreateObject("wscript.shell")
Shell.Run("Notepad.exe")

Set shell=CreateObject("wscript.shell")
Shell.Run("MSPaint")

Set shell=CreateObject("wscript.shell")
Shell.Run("CMD.exe")


You can also open ms word and powerpoint.


Step 3. Save the file as name.vbs.

You can replace name.

Step 4. Open the file. Notepad, paint and cmd will open.



Create diary on notepad


Step 1. Open Notepad.

Step 2. Type .LOG (In capital letters) in Notepad.

Step 3. Save the file as name.txt.

You can replace name with another name as diary.


Step 4. Open the file, you will see the current date and time in notepad.


Open notepad using wordpad



Step 1. Click on Start > All Programs > Accessories > Wordpad.

Step 2. Save it as name.txt.

Step 3. Open it, delete all text, save it and then open it.



3 comments: