Random Noise

cat /dev/random >> /dev/dsp

Archive for the ‘Windows Tip’ Category

Right Click to Open Elevated Command prompt in Vista

leave a comment »

To open command prompt with administrator privileges by right clicking on a directory in windows explorer: copy the following text and save it in a file with extension .reg. Then right click it and select merge.

Windows Registry Editor Version 5.00

@=”Open Admin Command prompt Here”

@=”cmd.exe /s /k pushd \”%V\””

Similarly if you need to open Visiual Studio 2008 command prompt with elevated permissions in Vista use this to create the registry file:

Windows Registry Editor Version 5.00


@=”Elevated VS 2008 Command Prompt”


@=”cmd.exe /s /k pushd \”%V\” && \”C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat\””


Written by Vivek Unune

May 25, 2008 at 1:39 am

Posted in Windows Tip

Tagged with , , ,

Installing ANT

with 3 comments

  1. Download the latest zip from http://ant.apache.org/bindownload.cgi.
  2. Extract it to a directory. For example C:\Users\Joe\apache-ant-1.7-bin.
  3. Edit your environment variables: On Windows XP: Right click on
    My Computer and select properties, then select Advance tab. On
    Vista: Right click on Computer and select properties => Advanced
    System Settings, then click on Environment Variables button.
  4. Add two system environment variables:
    JAVA_HOME = C:\Program Files\Java\jdk1.6.0_01
    ANT_HOME = C:\Users\Joe\apache-ant-1.7-bin
  5. Edit PATH envroment variable and add the following to the end:

Written by Vivek Unune

June 30, 2007 at 2:41 pm

Posted in Java, Windows Tip

Tagged with , ,