Random Noise

cat /dev/random >> /dev/dsp

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

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@=”Open Admin Command prompt Here”

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@=”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

[HKEY_CLASSES_ROOT\Directory\shell\runas]

@=”Elevated VS 2008 Command Prompt”

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

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

Advertisements

Written by Vivek Unune

May 25, 2008 at 1:39 am

Posted in Windows Tip

Tagged with , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: