Here is an easy way to create a shortcut on your desktop to edit your 'Hosts' file in Notepad.
- Right click on your desktop --> New --> Shortcut
- On the box, enter the following command:
notepad c:\windows\system32\drivers\etc\hosts
- Click 'Next' --> Provide desired name for the shortcut --> Finish
Now you just need to open this shortcut to edit your 'Hosts' file...
Cool.... isn't it? :)
Tuesday, December 22, 2009
Wednesday, September 30, 2009
Send mail using Telnet
Here are the steps to send mails using Telnet command:
---------------------------------------------------------
- Open 'Command Prompt' (Start --> Run --> type 'cmd' --> OK)
- Type telnet [server IP]25
- Type Helo [domain name]
- Type MAIL FROM:[E-mail address]
You may get a '250 OK' message
- Type RCPT TO: [E-mail address1], [E-mail address2], [E-mail address3]
Here also you might get a '250 OK' message
- To write the mail message, type DATA and press Enter
---------------------------------------------------------
- Open 'Command Prompt' (Start --> Run --> type 'cmd' --> OK)
- Type telnet [server IP]
- Type Helo [domain name]
- Type RCPT TO:
Here also you might get a '250 OK' message
- To write the mail message, type DATA and press Enter
- On the first line type SUBJECT:yoursubject and press Enter twice.
- Continue typing your message.
- Put a single period (.) on a line by itself and press Enter to send your message. The server should display a confirmation that your mail has been sent
Thursday, July 16, 2009
Hide PHP version on server
If you do not wish to expose the PHP version used on your server to the outside world, just do the small trick..
- Locate php.ini
- Edit it and make the below value to 'Off'
expose_php = Off
:-)
- Locate php.ini
- Edit it and make the below value to 'Off'
expose_php = Off
:-)
Friday, June 5, 2009
Deltree replacement in XP
Just a short tip:
'Deltree' command is replaced in XP by 'RD' or 'RMDIR'
RD {folder name}/s /q
/s - Removes all directories and files in the directory in addition to the parent directory.
/q - Quiet mode (does not asks for confirmation.
:-)
'Deltree' command is replaced in XP by 'RD' or 'RMDIR'
RD {folder name}
/s - Removes all directories and files in the directory in addition to the parent directory.
/q - Quiet mode (does not asks for confirmation.
:-)
Wednesday, May 13, 2009
Firefox tweaks
Here are some tweaks to speed up your browsing speed with Mozilla Firefox...
- Open Firefox
- Type 'about:config' on the address bar and press 'Enter' key
Change the following values to increase the speed:
-------------------------------------------------------------------------
network.http.pipelining: true
network.http.proxy.pipelining: true
network.http.pipelining.maxrequests: 8
network.http.max-connections: 96
network.http.max-connections-per-server: 32
Do not open new tab window next to current
-----------------------------------------------
browser.tabs.insertRelatedAfterCurrent --> False
Disable Anti-virus scanning
----------------------------------------
browser.download.manager.scanWhenDone: false
Open search bar results in new tab
--------------------------------------------------
browser.search.openintab: true
Load Firefox faster first time
----------------------------------------
- Right click on Firefox shortcut, then choose Properties
- On Target field, Add /prefetch:1 at the end of the path with space in between.
Eg: “C:\Program Files\Mozilla Firefox\firefox.exe” /prefetch:1
Enjoy faster browsing :)
- Open Firefox
- Type 'about:config' on the address bar and press 'Enter' key
Change the following values to increase the speed:
-------------------------------------------------------------------------
network.http.pipelining: true
network.http.proxy.pipelining: true
network.http.pipelining.maxrequests: 8
network.http.max-connections: 96
network.http.max-connections-per-server: 32
Do not open new tab window next to current
-----------------------------------------------
browser.tabs.insertRelatedAfterCurrent --> False
Disable Anti-virus scanning
----------------------------------------
browser.download.manager.scanWhenDone: false
Open search bar results in new tab
--------------------------------------------------
browser.search.openintab: true
Load Firefox faster first time
----------------------------------------
- Right click on Firefox shortcut, then choose Properties
- On Target field, Add /prefetch:1 at the end of the path with space in between.
Eg: “C:\Program Files\Mozilla Firefox\firefox.exe” /prefetch:1
Enjoy faster browsing :)
Thursday, April 9, 2009
Make ur computer "Talk"!!
Open Notepad and type the following:
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save the file with a (*.vbs) extension, it will create a VBScript File.
Now open the saved file, input the text and press ok."
U will hear what u typed...
Have Fun :)
Dim msg, sapi
msg=InputBox("Enter your text","Talk it")
Set sapi=CreateObject("sapi.spvoice")
sapi.Speak msg
Save the file with a (*.vbs) extension, it will create a VBScript File.
Now open the saved file, input the text and press ok."
U will hear what u typed...
Have Fun :)
Tuesday, March 24, 2009
Change Program Files Path
Use the following registry hack to change the default program installation folder.
Run --> Regedit
Navigate to 'HKEY_LOCAL_MACHINE\SOFTWARE\Micosoft\Windows\CurrentVersion
Look for the String Value 'ProgramFilesDir'
Double click to edit and enter the desired folder --> Click 'OK' to save settings.
:)
Run --> Regedit
Navigate to 'HKEY_LOCAL_MACHINE\SOFTWARE\Micosoft\Windows\CurrentVersion
Look for the String Value 'ProgramFilesDir'
Double click to edit and enter the desired folder --> Click 'OK' to save settings.
:)
Monday, February 23, 2009
Windows XP Re-activation
Re-activate Windows XP w/o going online (No hardware change pls)
================================================
Take a backup of the below 2 files from %systemroot%\system32 folder
1) wpa.dbl
2) wpa.bak
Restore these files to the same location after the new installation.
:-)
================================================
Take a backup of the below 2 files from %systemroot%\system32 folder
1) wpa.dbl
2) wpa.bak
Restore these files to the same location after the new installation.
:-)
Subscribe to:
Posts (Atom)