Changing network setting by a batch file in Windows

Wednesday, 20 June 2007, 1:21 | Category : Technology
Tags :

You may change network setting (IP, DNS etc) using batch file in Windows XP. Lets say, you want a config shown below: To do so, create a file names as changeIP.bat and write following lines into that: netsh int ip set address name=”Local Area Connection” source=static addr=10.129.163.208 mask=255.255.255.0 netsh int ip set address name=”Local Area […]

Sending huge data to client browser

Wednesday, 20 June 2007, 0:56 | Category : Internet, J2EE, Java, Technology
Tags :

If you want to pass huge data to the client from your servlet, user may need to wait till the ServletOutputStream or JSPWriter flushes the data. This happens generally whenever you have a number of items page and you want to pass it to the client. The better approach is to flush the data partly […]

How to Enable remote debugging of a java application

Friday, 8 June 2007, 2:50 | Category : Java, Technology
Tags :

While running the application pass following as JVM argument -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8765 This will start listening on port 8765, now you may attach remote debugger from any machine giving the IP/hostname and port.

File sharing in Windows XP Professional

Friday, 8 June 2007, 2:26 | Category : Technology
Tags :

Set Permissions for Shared Files and Folders Sharing of files and folders can be managed in two ways. If you chose simplified file sharing, your folders can be shared with everyone on your network or workgroup, or you can make your folders private. (This is how folders are shared in Windows 2000.) However, in Windows […]

Unwanted XP services

Friday, 8 June 2007, 2:25 | Category : Technology
Tags :

For a Safer, faster XP Close Unwanted Services To disable unneeded startup services for a safer, faster XP, use the “Services” Admin Tool (Control Panel > Administrative Tools > Services). If you are a single user of a non-networked machine, you can disable the following items, with no ill effect. Alerter Clipbook Computer Browser Fast […]

How to remove MSN messenger completely from Windows

Friday, 8 June 2007, 2:22 | Category : Technology
Tags :

Remove MSN Messenger… Are you tired of seeing MSN Messenger pop up on your Windows XP system? As usual, in an effort to continue its course towards domination of everything, Microsoft has made it difficult to remove. But it is possible! The following method works in Windows XP Professional, but has not been tested on […]

How to switch back to win2000 style search in WinXP

Friday, 8 June 2007, 2:17 | Category : Technology
Tags : ,

Open notepad and paste following content and save the file as XPSearch.reg. After creation, double click the file and say yes on option alert box. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerCabinetState] “Settings”=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00 “FullPath”=dword:00000001 “FullPathAddress”=dword:00000001 “Use Search Asst”=”no”

How to reset “View source” application in internet explorer back to notepad

Friday, 8 June 2007, 2:15 | Category : Technology
Tags : ,

Open notepad and paste following content and save the file as resetIEViewSource.reg. After creation, double click the file and say yes on option alert box. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESOFTWAREMicrosoftInternet ExplorerView Source EditorEditor Name] @=”C:\Windows\notepad”

How to enable File Name completion on command prompt

Friday, 8 June 2007, 2:14 | Category : Technology
Tags :

Open notepad and paste following content and save the file as cmdComplete.reg. After creation, double click the file and say yes on option alert box. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor] “CompletionChar”=dword:00000009

Add “command prompt here” to right click menu of folder

Friday, 8 June 2007, 2:11 | Category : Technology
Tags :

Open notepad and paste following content and save the file as cmd.reg. After creation, double clik the file and say yes on option alert box. REGEDIT4 [HKEY_CLASSES_ROOTDirectoryshelldos] @=”Command Prompt here” [HKEY_CLASSES_ROOTDirectoryshelldoscommand] @=”cmd.exe /k cd “%1″”