,

Enable test signing in Vista and Windows 7

Friday, March 26, 2010 2 comments

On Windows Vista and Windows 7, with the default settings, we can't install unsigned third party drivers. We need to enable test signing to install such drivers. We can enable this from command prompt using the below command.


bcdedit /set testsigning on


Note that you can run above command only from elevated administrator command prompt. Otherwise you will get error as shown below.

c:\>bcdedit /set testsigning on
The boot configuration data store could not be opened.
Access is denied.

Launch Windows media player from run in windows 7

Monday, March 15, 2010 0 comments

Windows media player can be launched from Run window by running the command wmplayer.

This command does not work from command prompt as the environment variable 'PATH' will not have media player binaries location path. You can directly launch the exe by specifying its location path in full.

c:/>"c:\Program Files\Windows Media Player\wmplayer.exe"

Launch sticky notes command line

Wednesday, March 10, 2010 0 comments

Sticky notes application can be launched from command line by running the command 'Stikynot'. Same command can also be used from Run window too.

c:\> stikynot


Launch snipping tool command line

Saturday, March 6, 2010 0 comments

Snipping tool makes it easy to capture snapshot of the current screen. We can launch this tool from command line by running 'snippingtool' command. Same command can be used from Run command too.


This tool is not available in Windows XP/Server 2003.

How to change drive and directory with a single command

Wednesday, March 3, 2010 0 comments

While working in command prompt, many times we face a situation where we have to change to a directory on another drive. For example currently I am working in c:\users\techblogger folder and if I want to change to the directory e:\data\documents\ normally what I do is changing to the e: drive first and then doing 'cd' to the data\documents directory.

c:\users\techblogger>
c:\users\techblogger>e:
e:\>cd data\documents

Instead of executing two commands we can do the same thing in a single command by using /d switch with cd command.

c:\users\techblogger>cd /d e:\data\documents
e:\data\documents>